mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-12 18:45:41 +00:00
using custom version of actix-codegen and cors for pow routes
This commit is contained in:
@@ -52,6 +52,7 @@ impl From<Notification> for NotificationResp {
|
||||
}
|
||||
}
|
||||
/// route handler that gets all unread notifications
|
||||
#[my_codegen::get(path="crate::V1_API_ROUTES.notifications.get", wrap="crate::CheckLogin")]
|
||||
pub async fn get_notification(
|
||||
data: web::Data<Data>,
|
||||
id: Identity,
|
||||
|
||||
Reference in New Issue
Block a user