addlevel and getlevel tests

This commit is contained in:
realaravinth
2021-05-06 14:38:42 +05:30
parent 30f457ca43
commit 6069509504
10 changed files with 199 additions and 10 deletions

View File

@@ -90,8 +90,8 @@ pub fn services(cfg: &mut web::ServiceConfig) {
);
}
// TODO try for non-existent token names
// TODO redo mcaptcha table to include levels as json field
// so that the whole thing can be added/udpaed in a single stroke
async fn add_levels(
payload: web::Json<AddLevels>,
data: web::Data<Data>,