barname
This commit is contained in:
@@ -40,6 +40,12 @@ export class BarnameController {
|
||||
return this.billsService.findOne(paramDto.id, businessId);
|
||||
}
|
||||
|
||||
@ApiOperation({ summary: "Update Barname by watcher" })
|
||||
@Get(":id/watcher")
|
||||
update(@Param() dto: ParamDto, @BusinessDec("id") businessId: string) {
|
||||
return this.billsService.findOne(dto.id, businessId);
|
||||
}
|
||||
|
||||
@ApiOperation({ summary: "Remove a barname" })
|
||||
@Delete(":id")
|
||||
remove(@Param() paramDto: ParamDto, @BusinessDec("id") businessId: string) {
|
||||
|
||||
Reference in New Issue
Block a user