don't try to update non-existent readthroughs

This commit is contained in:
Hugh Rundle
2021-11-20 16:03:46 +11:00
parent af9768a2e3
commit 12810d8e34
2 changed files with 5 additions and 6 deletions

View File

@ -86,8 +86,6 @@ class ReadingStatus(View):
if request.POST.get("post-status"):
# is it a comment?
if request.POST.get("content"):
# BUG: there is a problem posting statuses with comments (doesn't force reload)
# there is a DIFFERENT problem *updating* read statuses/comments
return CreateStatus.as_view()(request, "comment")
privacy = request.POST.get("privacy")
handle_reading_status(request.user, desired_shelf, book, privacy)