Fix another email ical bug
This commit is contained in:
parent
f9d94a4a05
commit
152107a9bb
|
@ -334,7 +334,7 @@ class SessionViewSet(Base, List, Retrieve, Create, Update):
|
|||
|
||||
return response
|
||||
|
||||
@action(detail=True, methods=['post'], permission_classes=[IsAuthenticated])
|
||||
@action(detail=True, methods=['post'], permission_classes=[AllowMetadata | IsAuthenticated])
|
||||
def email_ical(self, request, pk=None):
|
||||
session = get_object_or_404(models.Session, id=pk)
|
||||
user = self.request.user
|
||||
|
|
Loading…
Reference in New Issue
Block a user