fix(aurora): fixed a json encoder issue that was causing an attributeerror
This commit is contained in:
parent
0c628cf2a2
commit
a05e957dde
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class JSONEncoder(json.JSONEncoder):
|
||||||
case AuroraBaseModel():
|
case AuroraBaseModel():
|
||||||
return o.dump()
|
return o.dump()
|
||||||
case Type():
|
case Type():
|
||||||
return o.moderation_type
|
return o.key
|
||||||
case Red():
|
case Red():
|
||||||
return None
|
return None
|
||||||
case _:
|
case _:
|
||||||
|
|
Loading…
Reference in a new issue