diff options
| author | Fuwn <[email protected]> | 2024-10-07 02:46:25 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-07 02:46:25 -0700 |
| commit | 444c496a212859accd992f2b5cb57e091cbaa7a8 (patch) | |
| tree | 82d37b8178abb30038f8b6484dcef5300270b068 /src/graphql/user/schema.graphql | |
| parent | fix(graphql): wait for database update on badge mutation (diff) | |
| download | due.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.graphql | 2 |
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 { |