Skip to content

Commit 85c52b7

Browse files
committed
fix: format
1 parent b977e49 commit 85c52b7

1 file changed

Lines changed: 13 additions & 15 deletions

File tree

‎packages/api-gateway/src/modules/auth/auth.module.ts‎

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,18 @@ const { PROJECT_SERVICE_NAME, JUNO_PROJECT_PACKAGE_NAME } = ProjectProto;
8686
})
8787
export class AuthModule implements NestModule {
8888
configure(consumer: MiddlewareConsumer) {
89-
consumer
90-
.apply(CredentialsMiddleware)
91-
.forRoutes(
92-
{ path: 'auth/user/jwt', method: RequestMethod.POST },
93-
{ path: 'auth/test-auth', method: RequestMethod.GET },
94-
{ path: 'auth/account-request', method: RequestMethod.GET },
95-
{ path: 'auth/account-request/:id', method: RequestMethod.DELETE },
96-
{ path: 'auth/key', method: RequestMethod.POST },
97-
{ path: 'auth/key/all', method: RequestMethod.GET },
98-
{ path: 'auth/key/:id', method: RequestMethod.DELETE },
99-
{
100-
path: 'auth/account-request/:id/accept',
101-
method: RequestMethod.POST,
102-
},
103-
);
89+
consumer.apply(CredentialsMiddleware).forRoutes(
90+
{ path: 'auth/user/jwt', method: RequestMethod.POST },
91+
{ path: 'auth/test-auth', method: RequestMethod.GET },
92+
{ path: 'auth/account-request', method: RequestMethod.GET },
93+
{ path: 'auth/account-request/:id', method: RequestMethod.DELETE },
94+
{ path: 'auth/key', method: RequestMethod.POST },
95+
{ path: 'auth/key/all', method: RequestMethod.GET },
96+
{ path: 'auth/key/:id', method: RequestMethod.DELETE },
97+
{
98+
path: 'auth/account-request/:id/accept',
99+
method: RequestMethod.POST,
100+
},
101+
);
104102
}
105103
}

0 commit comments

Comments
 (0)