From 444c496a212859accd992f2b5cb57e091cbaa7a8 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 7 Oct 2024 02:46:25 -0700 Subject: fix(graphql): return null for no user id access --- src/graphql/user/schema.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphql/user/schema.graphql') 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 { -- cgit v1.2.3