Skip to content

Commit 08c3845

Browse files
committed
nit: fix decorator names of other file routes
1 parent 9f3a437 commit 08c3845

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎packages/api-gateway/src/modules/file_bucket/file_bucket.controller.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { ApiKey } from 'src/decorators/api_key.decorator';
2323

2424
const { BUCKET_FILE_SERVICE_NAME } = FileBucketProto;
2525

26-
@ApiBearerAuth('api_key')
26+
@ApiBearerAuth('API_Key')
2727
@ApiTags('file_bucket')
2828
@Controller('file')
2929
export class FileBucketController implements OnModuleInit {

‎packages/api-gateway/src/modules/file_download/file_download.controller.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { ApiKey } from 'src/decorators/api_key.decorator';
2323

2424
const { FILE_SERVICE_NAME } = FileProto;
2525

26-
@ApiBearerAuth('api_key')
26+
@ApiBearerAuth('API_Key')
2727
@ApiTags('file_download')
2828
@Controller('file')
2929
export class FileDownloadController implements OnModuleInit {

‎packages/api-gateway/src/modules/file_provider/file_provider.controller.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222

2323
const { FILE_PROVIDER_FILE_SERVICE_NAME } = FileProviderProto;
2424

25-
@ApiBearerAuth('api_key')
25+
@ApiBearerAuth('API_Key')
2626
@ApiTags('file_provider')
2727
@Controller('file')
2828
export class FileProviderController implements OnModuleInit {

‎packages/api-gateway/src/modules/file_upload/file_upload.controller.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { ApiKey } from 'src/decorators/api_key.decorator';
2323

2424
const { FILE_SERVICE_NAME } = FileProto;
2525

26-
@ApiBearerAuth('api_key')
26+
@ApiBearerAuth('API_Key')
2727
@ApiTags('file_upload')
2828
@Controller('file')
2929
export class FileUploadController implements OnModuleInit {

‎packages/auth-service/src/modules/api_key/api_key.controller.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { lastValueFrom } from 'rxjs';
55
import { createHash, randomBytes } from 'crypto';
66
import { status } from '@grpc/grpc-js';
77

8-
@Controller('api_key')
8+
@Controller('API_Key')
99
@ApiKeyProto.ApiKeyServiceControllerMethods()
1010
export class ApiKeyController implements ApiKeyProto.ApiKeyServiceController {
1111
private userAuthService: UserProto.UserAuthServiceClient;

0 commit comments

Comments
 (0)