diff options
| author | Fuwn <[email protected]> | 2024-09-28 18:53:43 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-28 18:53:43 -0700 |
| commit | 9712c697a910360c499f2bddbdb510962d17be8b (patch) | |
| tree | e2dd937e5003c74d5de2360ca4d3f1b4803b908d /src/graphql | |
| parent | feat(graphl): set up user module (diff) | |
| download | due.moe-9712c697a910360c499f2bddbdb510962d17be8b.tar.xz due.moe-9712c697a910360c499f2bddbdb510962d17be8b.zip | |
feat(user): move profile page badges to graphql
Diffstat (limited to 'src/graphql')
| -rw-r--r-- | src/graphql/user/schema.graphql | 4 |
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 { |