diff --git a/app/main.py b/app/main.py index d65cee9..12c7bc3 100644 --- a/app/main.py +++ b/app/main.py @@ -111,10 +111,10 @@ async def inbox( payload = await request.json() if not httpsig_checker: - return Response(status_code=406, content="invalid http-sig") + return Response(status_code=401, content="invalid http-sig") if not await save_incoming(db_session, payload): - return Response(status_code=406, content="invalid activitypub object") + return Response(status_code=401, content="invalid activitypub object") return Response(status_code=202)