use user slug as rater in Comment and User ratings
This commit is contained in:
@@ -211,11 +211,6 @@ type Role {
|
||||
}
|
||||
|
||||
type Rating {
|
||||
rater: Int!
|
||||
value: Int!
|
||||
}
|
||||
|
||||
type ShoutRating {
|
||||
rater: String!
|
||||
value: Int!
|
||||
}
|
||||
@@ -293,7 +288,7 @@ type Comment {
|
||||
type CommentRating {
|
||||
id: Int!
|
||||
comment_id: Int!
|
||||
createdBy: Int!
|
||||
createdBy: String!
|
||||
createdAt: DateTime!
|
||||
value: Int!
|
||||
}
|
||||
@@ -304,7 +299,7 @@ type Shout {
|
||||
body: String!
|
||||
createdAt: DateTime!
|
||||
authors: [User!]!
|
||||
ratings: [ShoutRating]
|
||||
ratings: [Rating]
|
||||
visibleFor: [User]
|
||||
community: Int
|
||||
cover: String
|
||||
|
Reference in New Issue
Block a user