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
|
## reject if actor is empty
|
||||||
if not request.actor:
|
if not request.actor:
|
||||||
## ld signatures aren't handled atm, so just ignore it
|
## 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')
|
logging.verbose(f'Instance sent a delete which cannot be handled')
|
||||||
return Response.new(status=202)
|
return Response.new(status=202)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue