fix: Switch to @fastify/jwt for proper types
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s

This commit is contained in:
fullsizemalt 2025-12-09 10:57:54 -08:00
parent 6b724386ba
commit d06bf0defa
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@
"@prisma/client": "^5.7.0",
"fastify": "^4.25.0",
"fastify-plugin": "^4.5.0",
"fastify-jwt": "^4.2.0",
"@fastify/jwt": "^7.2.4",
"dotenv": "^16.3.1"
},
"devDependencies": {

View file

@ -1,5 +1,5 @@
import fastify from 'fastify';
import jwt from 'fastify-jwt';
import jwt from '@fastify/jwt';
import dotenv from 'dotenv';
import { prismaPlugin } from './plugins/prisma';
import { authRoutes } from './routes/auth.routes';