Adds post attribute to resolve book endpoint

This commit is contained in:
Mouse Reeve 2020-12-15 16:50:10 -08:00
parent bde75766f2
commit fabf880a94

View file

@ -215,6 +215,7 @@ def edit_profile(request):
return redirect('/user/%s' % request.user.localname) return redirect('/user/%s' % request.user.localname)
@require_POST
def resolve_book(request): def resolve_book(request):
''' figure out the local path to a book from a remote_id ''' ''' figure out the local path to a book from a remote_id '''
remote_id = request.POST.get('remote_id') remote_id = request.POST.get('remote_id')