From a838e4324b9cd20d9082eeda3fd3f467340a3211 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Tue, 22 Nov 2022 18:09:25 -0500 Subject: [PATCH] fix NameError in inbox --- relay/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/views.py b/relay/views.py index 9727207..a91f078 100644 --- a/relay/views.py +++ b/relay/views.py @@ -107,7 +107,7 @@ async def inbox(request): ## reject if actor is empty if not request.actor: ## ld signatures aren't handled atm, so just ignore it - if data.type == 'Delete': + if request['message'].type == 'Delete': logging.verbose(f'Instance sent a delete which cannot be handled') return Response.new(status=202)