mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-12 10:35:39 +00:00
feat: migrate v1 api mod to use actix_auth_middleware
This commit is contained in:
@@ -39,7 +39,7 @@ pub struct NotificationResp {
|
||||
/// route handler that marks a notification read
|
||||
#[my_codegen::post(
|
||||
path = "crate::V1_API_ROUTES.notifications.mark_read",
|
||||
wrap = "crate::CheckLogin"
|
||||
wrap = "crate::api::v1::get_middleware()"
|
||||
)]
|
||||
pub async fn mark_read(
|
||||
data: AppData,
|
||||
|
||||
Reference in New Issue
Block a user