From f967721b6e7acc827f5242e211d9a46a0f9aaddf Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Sun, 22 Jul 2018 21:13:09 +0200 Subject: Now doing role colorization instead of random colors for the cleanlog template. --- pysite/views/api/bot/clean.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pysite/views/api/bot/clean.py') diff --git a/pysite/views/api/bot/clean.py b/pysite/views/api/bot/clean.py index 216261ce..f914c03c 100644 --- a/pysite/views/api/bot/clean.py +++ b/pysite/views/api/bot/clean.py @@ -11,7 +11,8 @@ POST_SCHEMA = Schema({ { "author": str, "content": str, - "timestamp": str + "timestamp": str, + "role": str } ] }) -- cgit v1.2.3