File tree Expand file tree Collapse file tree 7 files changed +7
-9
lines changed
Expand file tree Collapse file tree 7 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1- export const PUBLIC_ROUTE_KEY = 'isPublic' ;
2- export const RESPONSE_SERIALIZATION_META_KEY = 'responseSerializationMetaKey' ;
3- export const RESPONSE_MESSAGE_META_KEY = 'responseMessageMetaKey' ;
1+ export const PUBLIC_ROUTE_KEY = 'Public' ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { registerAs } from '@nestjs/config';
22
33export default registerAs (
44 'app' ,
5- ( ) : Record < string , any > => ( {
5+ ( ) : Record < string , unknown > => ( {
66 name : process . env . APP_NAME ?? 'auth' ,
77 env : process . env . APP_ENV ?? 'development' ,
88 versioning : {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { registerAs } from '@nestjs/config';
22
33export default registerAs (
44 'doc' ,
5- ( ) : Record < string , any > => ( {
5+ ( ) : Record < string , unknown > => ( {
66 name : `${ process . env . APP_NAME } APIs Specification` ,
77 description : `${ process . env . APP_NAME } APIs Description` ,
88 version : '1.0' ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { registerAs } from '@nestjs/config';
22
33export default registerAs (
44 'rmq' ,
5- ( ) : Record < string , any > => ( {
5+ ( ) : Record < string , unknown > => ( {
66 uri : process . env . RABBITMQ_URL ,
77 auth : process . env . RABBITMQ_AUTH_QUEUE ,
88 } ) ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export class AuthJwtAccessGuard extends AuthGuard('jwt-access') {
99 super ( ) ;
1010 }
1111
12- handleRequest < TUser = any | boolean > (
12+ handleRequest < TUser = unknown | boolean > (
1313 err : Error ,
1414 user : TUser ,
1515 _info : Error ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export class AuthJwtRefreshGuard extends AuthGuard('jwt-refresh') {
77 super ( ) ;
88 }
99
10- handleRequest < TUser = any | boolean > (
10+ handleRequest < TUser = unknown | boolean > (
1111 err : Error ,
1212 user : TUser ,
1313 _info : Error ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export class ResponseInterceptor implements NestInterceptor {
2020 const response = ctx . getResponse ( ) ;
2121 const statusCode : number = response . statusCode ;
2222 const responseBody = await firstValueFrom ( next . handle ( ) ) ;
23- const message = await this . i18n . t ( `response .${ statusCode } ` ) ;
23+ const message = await this . i18n . t ( `success .${ statusCode } ` ) ;
2424
2525 return of ( {
2626 statusCode,
You can’t perform that action at this time.
0 commit comments