remove unnecessary function call arg

This commit is contained in:
Hugh Rundle 2021-11-26 17:39:35 +11:00
parent a5efc798f8
commit 1a37903583
No known key found for this signature in database
GPG key ID: CD23D6039184286B

View file

@ -101,7 +101,7 @@ class ReadingStatus(View):
and current_status_shelfbook.shelf.identifier
!= desired_shelf.identifier
):
return unshelve(request, referer=referer, book_id=book_id)
return unshelve(request, book_id=book_id)
if is_api_request(request):
return HttpResponse()