add rateShout

This commit is contained in:
knst-kotov
2021-09-25 14:40:37 +03:00
parent 9a5ec80b12
commit f23d375b4d
4 changed files with 35 additions and 19 deletions

View File

@@ -68,7 +68,7 @@ type Mutation {
createShout(input: ShoutInput!): ShoutResult!
updateShout(id: Int!, input: ShoutInput!): ShoutResult!
deleteShout(id: Int!): Result!
rateShout(id: Int!, value: Int!): Result!
rateShout(shout_id: Int!, value: Int!): Result!
# user profile
# rateUser(value: Int!): Result!