aboutsummaryrefslogtreecommitdiff
path: root/src/graphql/user/schema.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphql/user/schema.graphql')
-rw-r--r--src/graphql/user/schema.graphql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphql/user/schema.graphql b/src/graphql/user/schema.graphql
index d4360a39..942ee72d 100644
--- a/src/graphql/user/schema.graphql
+++ b/src/graphql/user/schema.graphql
@@ -1,10 +1,10 @@
type Query {
- User(id: Int!): User
+ User(id: Int!): User!
}
type User {
id: Int!
- badges: [Badge]
+ badges: [Badge]!
}
type Badge {