aboutsummaryrefslogtreecommitdiff
path: root/src/graphql
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-12-24 11:13:15 -0800
committerFuwn <[email protected]>2024-12-24 11:13:15 -0800
commit2f65c444a5ff402e41c8b2dae431610b02bd2d5f (patch)
tree1709db3a55579e5416cb25d8001759b256bf9ffb /src/graphql
parentfix(List): double guard total count setting overlap (diff)
downloaddue.moe-2f65c444a5ff402e41c8b2dae431610b02bd2d5f.tar.xz
due.moe-2f65c444a5ff402e41c8b2dae431610b02bd2d5f.zip
fix(wrapped): li::marker consistent colouring
Diffstat (limited to 'src/graphql')
-rw-r--r--src/graphql/user/resolvers.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphql/user/resolvers.ts b/src/graphql/user/resolvers.ts
index 30f48cd1..e6575a75 100644
--- a/src/graphql/user/resolvers.ts
+++ b/src/graphql/user/resolvers.ts
@@ -49,7 +49,7 @@ const authenticatedBadgesOperation = async (
if (identity instanceof Error) return [];
- const authorised = privilegedUser(identity.id)
+ const authorised = privilegedUser(identity.id);
await operation(identity, authorised);
@@ -71,7 +71,7 @@ const authenticatedPreferencesOperation = async (
if (identity instanceof Error) return [];
- const authorised = privilegedUser(identity.id)
+ const authorised = privilegedUser(identity.id);
return {
id: identity.id,
@@ -129,7 +129,7 @@ export const resolvers: WithIndex<Resolvers> = {
allBadges
.filter((badge) => badge.category === category)
.filter((badge) => badge.hidden).length >
- allBadges.filter((badge) => badge.category === category).length / 2
+ allBadges.filter((badge) => badge.category === category).length / 2
? false
: true
});