From d0e65456a5a20e9130eb033b8300fbb01f8dd045 Mon Sep 17 00:00:00 2001 From: Roberto Date: Tue, 27 Dec 2022 22:57:40 +0100 Subject: [PATCH] Add routes Add admin routes to manage delete on grop and force update;delete on stats #53 --- utils/controller.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/controller.py b/utils/controller.py index 032937b..17ace60 100644 --- a/utils/controller.py +++ b/utils/controller.py @@ -59,7 +59,9 @@ '/delrobadmin' : udb.del_admin, '/setgroup' : udb.set_group, '/listgroup' : udb.list_group, - '/delgroup' : udb.del_group} + '/delgroup' : udb.del_group, + '/updatestat' : udb.force_update_stats, + '/delstat' : udb.force_delete_stats} auth_command = ["/trivial"]