SP-1812: fix: update bookable space (#467)

This commit is contained in:
ZaydSkaff
2025-07-10 11:11:30 +03:00
committed by GitHub
parent 3cfed2b452
commit 009deaf403

View File

@ -7,6 +7,7 @@ import {
Controller, Controller,
Get, Get,
Param, Param,
ParseUUIDPipe,
Post, Post,
Put, Put,
Query, Query,
@ -94,7 +95,7 @@ export class BookableSpaceController {
.UPDATE_BOOKABLE_SPACES_DESCRIPTION, .UPDATE_BOOKABLE_SPACES_DESCRIPTION,
}) })
async update( async update(
@Param('spaceUuid') spaceUuid: string, @Param('spaceUuid', ParseUUIDPipe) spaceUuid: string,
@Body() dto: UpdateBookableSpaceDto, @Body() dto: UpdateBookableSpaceDto,
): Promise<BaseResponseDto> { ): Promise<BaseResponseDto> {
const result = await this.bookableSpaceService.update(spaceUuid, dto); const result = await this.bookableSpaceService.update(spaceUuid, dto);