oops, lol

This commit is contained in:
rimu 2024-06-28 13:41:04 +08:00
parent c652b45627
commit eef9b193f4

View file

@ -381,7 +381,7 @@ def shared_inbox():
activity_log = ActivityPubLog(direction='in', result='failure')
try:
request_json = request.get_json(force=True, cache=False)
request_json = request.get_json(force=True)
except werkzeug.exceptions.BadRequest as e:
activity_log.exception_message = 'Unable to parse json body: ' + e.description
activity_log.result = 'failure'