username update

This commit is contained in:
realaravinth
2021-08-12 17:13:17 +05:30
parent 751a1046fb
commit a65b1c219c
15 changed files with 1140 additions and 1285 deletions

View File

@@ -37,7 +37,7 @@ async fn register_demo_user(data: &AppData) -> ServiceResult<()> {
val: DEMO_USER.into(),
};
if !username_exists(&user_exists_payload, &data).await?.exists {
if !username_exists(&user_exists_payload, data).await?.exists {
let register_payload = Register {
username: DEMO_USER.into(),
password: DEMO_PASSWORD.into(),