mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-12 10:35:39 +00:00
redis storage for captcha mech
This commit is contained in:
@@ -20,7 +20,7 @@ use actix_web::{web, HttpResponse, Responder};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::errors::*;
|
||||
use crate::Data;
|
||||
use crate::AppData;
|
||||
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub struct MarkReadReq {
|
||||
@@ -42,7 +42,7 @@ pub struct NotificationResp {
|
||||
wrap = "crate::CheckLogin"
|
||||
)]
|
||||
pub async fn mark_read(
|
||||
data: web::Data<Data>,
|
||||
data: AppData,
|
||||
payload: web::Json<MarkReadReq>,
|
||||
id: Identity,
|
||||
) -> ServiceResult<impl Responder> {
|
||||
|
||||
Reference in New Issue
Block a user