Skip to content

Commit

Permalink
chore: Update credentials decorator to use credentials_admin
Browse files Browse the repository at this point in the history
  • Loading branch information
usamabinnadeem-10 authored and abhigyanghosh30 committed Aug 21, 2024
1 parent 8ba8efe commit bbcacbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/shop/cred/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bbcacbb

Please sign in to comment.