Merge branch 'dev' of ssh://pleroma/pleroma/relay into dev

This commit is contained in:
Izalia Mae 2022-11-16 10:24:35 -05:00
commit d615380610

View file

@ -488,7 +488,7 @@ class Response(AiohttpResponse):
if ctype == 'json': if ctype == 'json':
body = json.dumps({'status': status, 'error': body}) body = json.dumps({'status': status, 'error': body})
return cls(body=body, status=status, ctype=ctype) return cls.new(body=body, status=status, ctype=ctype)
@property @property