mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-12 18:45:41 +00:00
chore: get rid of direct DB init and use db_*
This commit is contained in:
@@ -51,7 +51,7 @@ pub async fn add_notification(
|
||||
heading: &payload.heading,
|
||||
};
|
||||
|
||||
data.dblib.create_notification(&p).await?;
|
||||
data.db.create_notification(&p).await?;
|
||||
|
||||
Ok(HttpResponse::Ok())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user