Revert "api: add 'system', 'upvote', and 'downvote' fields to note queries"
This reverts commit dd4fee5fdb
.
This commit is contained in:
parent
add283bf68
commit
4c586dc7c2
2 changed files with 2 additions and 11 deletions
|
@ -31,10 +31,7 @@ Parameters:
|
|||
"state": "active",
|
||||
"created_at": "2013-09-30T13:46:01Z"
|
||||
},
|
||||
"created_at": "2013-10-02T09:22:45Z",
|
||||
"system": true,
|
||||
"upvote": false,
|
||||
"downvote": false
|
||||
"created_at": "2013-10-02T09:22:45Z"
|
||||
},
|
||||
{
|
||||
"id": 305,
|
||||
|
@ -48,10 +45,7 @@ Parameters:
|
|||
"state": "active",
|
||||
"created_at": "2013-09-30T13:46:01Z"
|
||||
},
|
||||
"created_at": "2013-10-02T09:56:03Z",
|
||||
"system": false,
|
||||
"upvote": false,
|
||||
"downvote": false
|
||||
"created_at": "2013-10-02T09:56:03Z"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
|
|
@ -190,9 +190,6 @@ module API
|
|||
expose :attachment_identifier, as: :attachment
|
||||
expose :author, using: Entities::UserBasic
|
||||
expose :created_at
|
||||
expose :system
|
||||
expose :upvote?, as: :upvote
|
||||
expose :downvote?, as: :downvote
|
||||
end
|
||||
|
||||
class MRNote < Grape::Entity
|
||||
|
|
Loading…
Reference in a new issue