mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-02-04 14:32:59 -05:00
fix
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user