refactor captcha.rs and levels.rs and rm duration routes

This commit is contained in:
realaravinth
2021-12-16 20:46:50 +05:30
parent cf4a0f9b73
commit 73ce2d1cb1
22 changed files with 860 additions and 886 deletions

View File

@@ -26,7 +26,7 @@ use crate::AppData;
path = "crate::V1_API_ROUTES.account.delete",
wrap = "crate::CheckLogin"
)]
async fn delete_account(
pub async fn delete_account(
id: Identity,
payload: web::Json<Password>,
data: AppData,