This commit is contained in:
2026-01-25 15:05:01 +03:30
parent bca1932ae3
commit 55856a40f1
6 changed files with 62 additions and 46 deletions
@@ -53,7 +53,7 @@ export class OrderController {
@UseGuards(AuthGuard)
@ApiOperation({ summary: 'create order as admin' })
createOrderAsAdmin(@AdminId() adminId: string, @Body() body: CreateOrderAsAdminDto) {
return this.orderService.createOrdeAsAdmin(adminId, body);
return this.orderService.createOrderAsAdmin(adminId, body);
}
@Delete('admin/orders/:orderId')