Fix move down to actually move down instead of up.

This commit is contained in:
Jim Driessen
2017-01-25 15:27:21 +01:00
parent 0aaee95b23
commit de79fcc89e

View File

@ -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({})