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():
|
||||
return o.dump()
|
||||
case Type():
|
||||
return o.moderation_type
|
||||
return o.key
|
||||
case Red():
|
||||
return None
|
||||
case _:
|
||||
|
|
Loading…
Reference in a new issue