feat(aurora): add metadata to evidenceformat
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s

This commit is contained in:
Seaswimmer 2024-05-24 04:22:42 -04:00
parent bfb4d8768d
commit 5b64ee9578
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -289,6 +289,9 @@ async def evidenceformat_factory(moderation: Moderation) -> str:
content += f"\nReason: {moderation.reason}" content += f"\nReason: {moderation.reason}"
for key, value in moderation.metadata.items():
content += f"\n{key.title()}: {value}"
return box(content, "prolog") return box(content, "prolog")