From fabf880a94cefbb9bdbcbeabdd7f9516e68707e5 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 15 Dec 2020 16:50:10 -0800 Subject: [PATCH] Adds post attribute to resolve book endpoint --- bookwyrm/view_actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/view_actions.py b/bookwyrm/view_actions.py index 26106190..f193e127 100644 --- a/bookwyrm/view_actions.py +++ b/bookwyrm/view_actions.py @@ -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')