mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-12 18:58:00 +00:00
Merge branch 'dev' of ssh://pleroma/pleroma/relay into dev
This commit is contained in:
commit
d615380610
|
@ -488,7 +488,7 @@ class Response(AiohttpResponse):
|
|||
if ctype == 'json':
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue