From c6f6e6c19bdb4e0ff4d628f0eb164ee367bc1822 Mon Sep 17 00:00:00 2001 From: Usama Bin Nadeem <32700508+usamabinnadeem-10@users.noreply.github.com> Date: Tue, 20 Aug 2024 18:56:42 +0500 Subject: [PATCH] chore: Update credentials decorator to use credentials_admin --- webapp/shop/cred/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/shop/cred/views.py b/webapp/shop/cred/views.py index 066ce3082d4..cdd6da30f55 100644 --- a/webapp/shop/cred/views.py +++ b/webapp/shop/cred/views.py @@ -1202,7 +1202,7 @@ def fetch_assessments(page: int): @shop_decorator(area="cred", permission="user", response="json") -@credentials_group() +@credentials_admin() def issue_credly_badge(credly_api, **kwargs): badge_data = flask.request.json try: