Fix typo: intersting -> interesting

This commit is contained in:
ynerant 2021-02-13 16:59:49 +01:00 committed by Yohann D'ANELLO
parent 73cadd8cfd
commit 140048bcdb
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ class UserDetailView(LoginRequiredMixin, DetailView):
and user.registration.participates and user.registration.team \
and user.registration.team.participation.tournament in me.registration.organized_tournaments.all() \
or user.registration.is_volunteer and me.registration.is_volunteer \
and me.registration.interesting_tournaments.intersection(user.registration.intersting_tournaments):
and me.registration.interesting_tournaments.intersection(user.registration.interesting_tournaments):
return super().dispatch(request, *args, **kwargs)
raise PermissionDenied