mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-22 23:18:08 +00:00
uncomment error handling for bad shelf id
This commit is contained in:
parent
74d37c84be
commit
765a6a1878
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ def shelve(request):
|
||||||
identifier=request.POST.get('shelf'),
|
identifier=request.POST.get('shelf'),
|
||||||
user=request.user
|
user=request.user
|
||||||
).first()
|
).first()
|
||||||
#if not desired_shelf:
|
if not desired_shelf:
|
||||||
# return HttpResponseNotFound()
|
return HttpResponseNotFound()
|
||||||
|
|
||||||
if request.POST.get('reshelve', True):
|
if request.POST.get('reshelve', True):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue