Added support for dev auth endpoint #82
Annotations
10 errors
Run ESLint:
src/config.ts#L30
Insert `,`
|
|
Run ESLint:
src/services/auth/auth-router.ts#L49
Delete `········`
|
Run ESLint:
src/services/auth/auth-router.ts#L52
Replace `await·getJwtPayloadFromDatabase(userId)` with `⏎················await·getJwtPayloadFromDatabase(userId)⏎············`
|
Run ESLint:
src/services/auth/auth-router.ts#L53
Replace `jwtPayload,·Config.JWT_SIGNING_SECRET,·{·expiresIn:·Config.JWT_EXPIRATION_TIME·}` with `⏎················jwtPayload,⏎················Config.JWT_SIGNING_SECRET,⏎················{·expiresIn:·Config.JWT_EXPIRATION_TIME·}⏎············`
|
Run ESLint:
src/services/auth/auth-router.ts#L54
Insert `⏎···············`
|
Run ESLint:
src/services/auth/auth-router.ts#L63
Replace `.status(StatusCodes.OK).json({"Token":·req.headers.authorization` with `⏎········.status(StatusCodes.OK)⏎········.json({·Token:·req.headers.authorization·`
|
|
|
Run ESLint:
src/services/auth/auth-utils.ts#L35
Replace `userId:·userId}).select(["userId",·"roles"` with `·userId:·userId·}).select([⏎········"userId",⏎········"roles",⏎····`
|
Loading