Skip to content

Commit

Permalink
Fix permission name in check
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Apr 30, 2024
1 parent 1433eef commit 284ca76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/search/search_sounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def get_sound_ids_from_search_engine_query(query_params, current_page=None, num_


def allow_beta_search_features(request):
if not request.user.is_authenticated:
if not request.user.is_authenticated:
return False
if request.user.has_perm('profile.can_beta_test'):
if request.user.has_perm('accounts.can_beta_test'):
return True

0 comments on commit 284ca76

Please sign in to comment.