mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-21 22:17:59 +00:00
fix NameError in inbox
This commit is contained in:
parent
242052386e
commit
a838e4324b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue