mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
refactor(nestjs): wip
This commit is contained in:
@@ -57,7 +57,7 @@ export class WarehousesController {
|
||||
return this.warehousesApplication.activateWarehouses();
|
||||
}
|
||||
|
||||
@Post(':id/mark-primary')
|
||||
@Put(':id/mark-primary')
|
||||
@ApiOperation({ summary: 'Mark a warehouse as primary' })
|
||||
markWarehousePrimary(@Param('id') warehouseId: string) {
|
||||
return this.warehousesApplication.markWarehousePrimary(Number(warehouseId));
|
||||
|
||||
Reference in New Issue
Block a user