(@CurrentAuth() auth: AuthContext, @Param('id') id: string)
| 64 | @Get(':id') |
| 65 | @ApiOkResponse({ type: ApiKeyResponseDto }) |
| 66 | async get(@CurrentAuth() auth: AuthContext, @Param('id') id: string) { |
| 67 | const apiKey = await this.apiKeysService.get(auth, id); |
| 68 | return ApiKeyResponseDto.create(apiKey); |
| 69 | } |
| 70 | |
| 71 | @Patch(':id') |
| 72 | @Roles('ADMIN') |