aboutsummaryrefslogtreecommitdiff
path: root/src/graphql/user/schema.graphql
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-07 02:46:25 -0700
committerFuwn <[email protected]>2024-10-07 02:46:25 -0700
commit444c496a212859accd992f2b5cb57e091cbaa7a8 (patch)
tree82d37b8178abb30038f8b6484dcef5300270b068 /src/graphql/user/schema.graphql
parentfix(graphql): wait for database update on badge mutation (diff)
downloaddue.moe-444c496a212859accd992f2b5cb57e091cbaa7a8.tar.xz
due.moe-444c496a212859accd992f2b5cb57e091cbaa7a8.zip
fix(graphql): return null for no user id access
Diffstat (limited to 'src/graphql/user/schema.graphql')
-rw-r--r--src/graphql/user/schema.graphql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphql/user/schema.graphql b/src/graphql/user/schema.graphql
index 66d14ce0..b8217b5a 100644
--- a/src/graphql/user/schema.graphql
+++ b/src/graphql/user/schema.graphql
@@ -1,5 +1,5 @@
type Query {
- User(id: Int): User!
+ User(id: Int): User
}
type Mutation {