diff --git a/package.json b/package.json index fe9c92be..7467bbf0 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "build": "tsc", "start": "node ./dist/entries/App.js", "cron": "node ./dist/entries/Cron.js", - "api:start": "npm run build-db && npm run migrate && npm run seed && npm run start", + "api:start": "npm run migrate && npm run start", "dev": "nodemon -V", "format": "prettier --write src", "migrate:test": "dotenv -e .env.test -- npx prisma migrate deploy", diff --git a/src/app/api/idnot/UserController.ts b/src/app/api/idnot/UserController.ts index 99df1abf..2dd2029a 100644 --- a/src/app/api/idnot/UserController.ts +++ b/src/app/api/idnot/UserController.ts @@ -43,7 +43,6 @@ export default class UserController extends ApiController { if (!id) throw new Error("idnot is required"); const payload = await this.authService.getUserJwtPayload(id!); - const accessToken = this.authService.generateAccessToken(payload); const refreshToken = this.authService.generateRefreshToken(payload);