mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-05-02 05:10:23 +03:00
chore: cleanup and addressing clippy lints
This commit is contained in:
parent
d7fd23f565
commit
629c841e2d
11 changed files with 14 additions and 45 deletions
db/db-sqlx-postgres/src
|
@ -59,7 +59,7 @@ async fn everyting_works() {
|
|||
},
|
||||
];
|
||||
|
||||
const add_notification: AddNotification = AddNotification {
|
||||
const ADD_NOTIFICATION: AddNotification = AddNotification {
|
||||
from: NAME,
|
||||
to: NAME,
|
||||
message: MESSAGE,
|
||||
|
@ -84,5 +84,5 @@ async fn everyting_works() {
|
|||
key: CAPTCHA_SECRET,
|
||||
description: CAPTCHA_DESCRIPTION,
|
||||
};
|
||||
database_works(&db, &p, &c, &LEVELS, &TRAFFIC_PATTERN, &add_notification).await;
|
||||
database_works(&db, &p, &c, &LEVELS, &TRAFFIC_PATTERN, &ADD_NOTIFICATION).await;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue