diff --git a/apps/api/src/app/platform/platform.controller.ts b/apps/api/src/app/platform/platform.controller.ts index ef80ce608..91c9501b1 100644 --- a/apps/api/src/app/platform/platform.controller.ts +++ b/apps/api/src/app/platform/platform.controller.ts @@ -52,7 +52,7 @@ export class PlatformController { @Put(':id') @UseGuards(AuthGuard('jwt')) public async updatePlatform( - @Param(':id') id: string, + @Param('id') id: string, @Body() data: UpdatePlatformDto ) { if ( @@ -87,7 +87,7 @@ export class PlatformController { @Delete(':id') @UseGuards(AuthGuard('jwt')) - public async deletePlatform(@Param(':id') id: string) { + public async deletePlatform(@Param('id') id: string) { if ( !hasPermission(this.request.user.permissions, permissions.deletePlatform) ) { @@ -96,7 +96,7 @@ export class PlatformController { StatusCodes.FORBIDDEN ); } - + console.log('id', id); const originalPlatform = await this.platformService.getPlatform({ id });