mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 22:12:22 +01:00
Fix move down to actually move down instead of up.
This commit is contained in:
@ -139,7 +139,7 @@ def move_down(request):
|
||||
playlist_song = get_object_or_404(PlaylistSong, id=request.POST.get('id'))
|
||||
if playlist_song.user != request.user and not request.user.has_perm('queues.can_move'):
|
||||
return HttpResponseForbidden()
|
||||
playlist_song.move_up()
|
||||
playlist_song.move_down()
|
||||
return JsonResponse({})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user