diff --git a/barker/barker/routers/reports/sale_report.py b/barker/barker/routers/reports/sale_report.py index 4580fa2..793bb81 100644 --- a/barker/barker/routers/reports/sale_report.py +++ b/barker/barker/routers/reports/sale_report.py @@ -111,7 +111,7 @@ def print_report( start_date: date = Depends(report_start_date), finish_date: date = Depends(report_finish_date), device_id: uuid.UUID = Cookie(None), - user: UserToken = Security(get_user, scopes=["discount-report"]), + user: UserToken = Security(get_user, scopes=["sale-report"]), ) -> bool: check_audit_permission(start_date, user.permissions) with SessionFuture() as db: