forked from mirrors/bookwyrm
Adds post attribute to resolve book endpoint
This commit is contained in:
parent
bde75766f2
commit
fabf880a94
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ def edit_profile(request):
|
|||
return redirect('/user/%s' % request.user.localname)
|
||||
|
||||
|
||||
@require_POST
|
||||
def resolve_book(request):
|
||||
''' figure out the local path to a book from a remote_id '''
|
||||
remote_id = request.POST.get('remote_id')
|
||||
|
|
Loading…
Reference in a new issue