From bbcacbba22c5742b8a6e48261e681631d45d81c3 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 50c2d896b2a..73b0f62477f 100644 --- a/webapp/shop/cred/views.py +++ b/webapp/shop/cred/views.py @@ -1215,7 +1215,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: