diff --git a/app/routes/hammer.tsx b/app/routes/hammer.tsx index c3712cc..107243f 100644 --- a/app/routes/hammer.tsx +++ b/app/routes/hammer.tsx @@ -40,7 +40,7 @@ export default function () { /> - + } spacing="6"> diff --git a/components/AppealCard.tsx b/components/AppealCard.tsx index 2331fd2..9b3811e 100644 --- a/components/AppealCard.tsx +++ b/components/AppealCard.tsx @@ -90,9 +90,7 @@ export default function (props: AppealCardProps) { - - Appeal for {props.user.username} - + Appeal for {props.user.username} ID: {props.user.id} diff --git a/functions/permissions.ts b/functions/permissions.ts index 53fc9c7..c3b66f8 100644 --- a/functions/permissions.ts +++ b/functions/permissions.ts @@ -1,4 +1,8 @@ -export default async function (userid: string, roles?: string[], context?: RequestContext): Promise { +export default async function ( + userid: string, + roles?: string[], + context?: RequestContext +): Promise { let permissions = 0; if (roles?.includes("374851061233614849")) permissions |= 1 << 0; // Administration @@ -9,7 +13,8 @@ export default async function (userid: string, roles?: string[], context?: Reque if ( ["165594923586945025", "289372404541554689", "396347223736057866"].includes( userid - ) || (Boolean(await context?.env.DATA.get(`gamemod_${userid}`))) + ) || + Boolean(await context?.env.DATA.get(`gamemod_${userid}`)) ) permissions |= 1 << 5; if ( diff --git a/public/app.webmanifest b/public/app.webmanifest index 00a4927..8c1dafe 100644 --- a/public/app.webmanifest +++ b/public/app.webmanifest @@ -22,4 +22,4 @@ "display": "standalone", "theme_color": "#00a8f8", "background_color": "#ffffff" -} \ No newline at end of file +}