aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/api
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-07-22 21:13:09 +0200
committerGravatar Leon Sandøy <[email protected]>2018-07-22 21:13:09 +0200
commitf967721b6e7acc827f5242e211d9a46a0f9aaddf (patch)
treedeaabdf3416d516b1affcd9c23ef43b9c53ff560 /pysite/views/api
parentfixed tests that were breaking. hooo-ey. (diff)
Now doing role colorization instead of random colors for the cleanlog template.
Diffstat (limited to 'pysite/views/api')
-rw-r--r--pysite/views/api/bot/clean.py3
1 files changed, 2 insertions, 1 deletions
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
}
]
})