mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-13 19:15:39 +00:00
refactor captcha.rs and levels.rs and rm duration routes
This commit is contained in:
@@ -26,7 +26,7 @@ use crate::{PAGES, V1_API_ROUTES};
|
||||
pub async fn delete_sitekey(path: web::Path<String>) -> impl Responder {
|
||||
let key = path.into_inner();
|
||||
let data = vec![("sitekey", key)];
|
||||
let page = SudoPage::new(V1_API_ROUTES.mcaptcha.delete, Some(data))
|
||||
let page = SudoPage::new(V1_API_ROUTES.captcha.delete, Some(data))
|
||||
.render_once()
|
||||
.unwrap();
|
||||
HttpResponse::Ok()
|
||||
|
||||
Reference in New Issue
Block a user