mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 18:15:39 +00:00
using custom version of actix-codegen and cors for pow routes
This commit is contained in:
@@ -30,6 +30,7 @@ pub struct AddNotification {
|
||||
}
|
||||
|
||||
/// route handler that adds a notification message
|
||||
#[my_codegen::post(path="crate::V1_API_ROUTES.notifications.add", wrap="crate::CheckLogin")]
|
||||
pub async fn add_notification(
|
||||
payload: web::Json<AddNotification>,
|
||||
data: web::Data<Data>,
|
||||
|
||||
Reference in New Issue
Block a user