fix(api): Fix all failing tests

This commit is contained in:
Jesse Wierzbinski 2025-08-21 01:15:38 +02:00
parent 1bfc5fb013
commit 6f97903f3b
No known key found for this signature in database
11 changed files with 111 additions and 179 deletions

View file

@ -57,10 +57,7 @@ export const applyToHono = (app: Hono<HonoEnv>): void => {
throw new ApiError(401, "Missing JWT cookie");
}
const result = await verify(
jwtCookie,
config.authentication.keys.public,
);
const result = await verify(jwtCookie, config.authentication.key);
const { sub } = result;