Skip to content

Commit

Permalink
Merge pull request #2627 from data-for-change/2586-enable_update_loca…
Browse files Browse the repository at this point in the history
…tion_for_admin_and_verifiers

enabling update location endpoint for admins and verifiers
  • Loading branch information
tkalir authored Apr 21, 2024
2 parents c3aa749 + 1b60bce commit 400af13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anyway/views/news_flash/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ def extracted_location_and_qualification(news_flash_obj: NewsFlash):


@roles_accepted(
BE_CONST.Roles2Names.Admins.value
BE_CONST.Roles2Names.Admins.value,
BE_CONST.Roles2Names.Location_verification.value
)
def update_news_flash_qualifying(id):
current_user = get_current_user()
Expand Down

0 comments on commit 400af13

Please sign in to comment.