add color
This commit is contained in:
@@ -71,7 +71,7 @@ export class RestaurantsController {
|
||||
@UseGuards(AdminAuthGuard)
|
||||
@ApiBearerAuth()
|
||||
@Permissions(Permission.UPDATE_RESTAURANT)
|
||||
@ApiOperation({ summary: 'Update restaurant background' })
|
||||
@ApiOperation({ summary: 'Update restaurant background and menu color' })
|
||||
@ApiBody({ type: UpdateRestaurantBgDto })
|
||||
@Patch('admin/restaurants/my-restaurant/background')
|
||||
updateMyRestaurantBg(@RestId() restId: string, @Body() dto: UpdateRestaurantBgDto) {
|
||||
|
||||
@@ -21,4 +21,9 @@ export class UpdateRestaurantBgDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
bgOverlay?: string;
|
||||
|
||||
@ApiPropertyOptional({ example: '#ff6600', description: 'رنگ منو' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
menuColor?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user