fix(aurora): fixed a json encoder issue that was causing an attributeerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s

This commit is contained in:
Seaswimmer 2024-07-06 12:29:43 -04:00
parent 0c628cf2a2
commit a05e957dde
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -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 _: