This commit is contained in:
2026-03-07 12:11:30 +03:30
parent eeb178a7fc
commit 993c024cd5
9 changed files with 57 additions and 27 deletions
@@ -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) {