return subscribed topics as slugs

This commit is contained in:
knst-kotov
2022-04-29 10:51:51 +03:00
parent 9fab68fc29
commit 6919b2603c
2 changed files with 10 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ type UserResult {
error: String
user: User
totalUnreadMessages: Int
userSubscribedTopics: [Topic]!
userSubscribedTopics: [String]!
}
input ShoutInput {
@@ -138,7 +138,7 @@ type Query {
userComments(slug: String!, page: Int!, size: Int!): [Comment]!
userSubscriptions(slug: String!): [User]!
userSubscribers(slug: String!): [User]!
userSubscribedTopics(slug: String!): [Topic]!
userSubscribedTopics(slug: String!): [String]!
shoutsCommentedByUser(slug: String!, page: Int!, size: Int!): [Shout]!
shoutsRatedByUser(slug: String!, page: Int!, size: Int!): [Shout]!