API: don't expose 'updated_at' for notes
This commit is contained in:
parent
24047e1e8d
commit
2a98a060ca
2 changed files with 2 additions and 3 deletions
|
@ -20,8 +20,7 @@ GET /projects/:id/notes
|
|||
"blocked": false,
|
||||
"created_at": "2012-05-23T08:00:58Z"
|
||||
},
|
||||
"updated_at":"2012-11-27T19:16:44Z",
|
||||
"created_at":"2012-11-27T19:16:44Z"
|
||||
"created_at": "2012-11-27T19:16:44Z"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
|
|
@ -73,7 +73,7 @@ module Gitlab
|
|||
expose :id
|
||||
expose :note, as: :body
|
||||
expose :author, using: Entities::UserBasic
|
||||
expose :updated_at, :created_at
|
||||
expose :created_at
|
||||
end
|
||||
|
||||
class MRNote < Grape::Entity
|
||||
|
|
Loading…
Reference in a new issue