Skip to content
Snippets Groups Projects
Commit 2a98a060 authored by Nihad Abbasov's avatar Nihad Abbasov
Browse files

API: don't expose 'updated_at' for notes

parent 24047e1e
No related branches found
No related tags found
1 merge request!2127API: don't expose 'updated_at' for notes
Loading
Loading
@@ -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"
}
]
```
Loading
Loading
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment