Edited start script
This commit is contained in:
parent
138f7e2407
commit
194565e962
@ -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",
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user