From 5401d7390943e72d713a0ca9679b0a92434f9ccd Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 20 May 2021 16:06:23 -0700 Subject: [PATCH] 404 instead of error for invalid post link --- bookwyrm/views/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/status.py b/bookwyrm/views/status.py index 2295c8cc..27aeab07 100644 --- a/bookwyrm/views/status.py +++ b/bookwyrm/views/status.py @@ -21,7 +21,7 @@ from .reading import edit_readthrough class CreateStatus(View): """the view for *posting*""" - def get(self, request): + def get(self, request, status_type): # pylint: disable=unused-argument """compose view (used for delete-and-redraft""" book = get_object_or_404(models.Edition, id=request.GET.get("book")) data = {"book": book}