Add asset_id to editComment mutation to allow mongo query happy path to be atomic

This commit is contained in:
Benjamin Goering
2017-05-08 09:57:52 -07:00
parent 81879c9bb9
commit 096025b72a
8 changed files with 88 additions and 59 deletions
+1 -1
View File
@@ -762,7 +762,7 @@ type RootMutation {
deleteAction(id: ID!): DeleteActionResponse
# Edit a comment
editComment(id: ID!, edit: EditCommentInput): EditCommentResponse
editComment(id: ID!, asset_id: ID!, edit: EditCommentInput): EditCommentResponse
# Sets User status. Requires the `ADMIN` role.
setUserStatus(id: ID!, status: USER_STATUS!): SetUserStatusResponse