mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-13 19:15:39 +00:00
get notifications
This commit is contained in:
@@ -38,7 +38,10 @@ impl IndexPage {
|
||||
}
|
||||
|
||||
/// render a list of all sitekeys that a user has
|
||||
pub async fn list_sitekeys(data: web::Data<Data>, id: Identity) -> PageResult<impl Responder> {
|
||||
pub async fn list_sitekeys(
|
||||
data: web::Data<Data>,
|
||||
id: Identity,
|
||||
) -> PageResult<impl Responder> {
|
||||
let res = get_list_sitekeys(&data, &id).await?;
|
||||
let body = IndexPage::new(res).render_once().unwrap();
|
||||
Ok(HttpResponse::Ok()
|
||||
|
||||
Reference in New Issue
Block a user