fix(api): Fix all failing tests

This commit is contained in:
Jesse Wierzbinski 2025-08-21 01:15:38 +02:00
parent 4c430426d3
commit c55be8a862
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;