This commit is contained in:
2026-02-21 12:39:57 +03:30
parent 05c05d4a2e
commit 65cb7a4f11
+1 -1
View File
@@ -48,7 +48,7 @@ export class InvoiceController {
}
@Get('admin/invoice')
@UseGuards(AuthGuard)
@UseGuards(AdminAuthGuard)
@ApiOperation({ summary: 'Get all invoices with pagination and filters' })
findAllAsAdmin(@Query() dto: FindInvoicesDto) {
return this.invoiceService.findAllAsAdmin(dto);