fix
This commit is contained in:
parent
f4d3439246
commit
2f2d32f0db
@ -601,7 +601,7 @@ class EmbedMediaLTIView(View):
|
|||||||
if not can_view:
|
if not can_view:
|
||||||
return JsonResponse({'error': 'Access denied', 'message': 'You do not have permission to view this media'}, status=403)
|
return JsonResponse({'error': 'Access denied', 'message': 'You do not have permission to view this media'}, status=403)
|
||||||
|
|
||||||
return HttpResponseRedirect(f"/view?m={friendly_token}")
|
return HttpResponseRedirect(f"/embed?m={friendly_token}")
|
||||||
|
|
||||||
|
|
||||||
class ManualSyncView(APIView):
|
class ManualSyncView(APIView):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user