Skip to content

Commit

Permalink
/
Browse files Browse the repository at this point in the history
  • Loading branch information
horacehoff committed Aug 31, 2024
1 parent 3130ea7 commit e59ee15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ pub fn _process_transaction(username_sender: &str, password_sender: &str, uid_se
let admin_user_data = encrypt_data(serde_json::to_string(&new_users.users_data[2]).unwrap().to_string().as_str());
file.write_all(admin_user_data.as_bytes()).unwrap();
}
return ResponseStruct {
ResponseStruct {
status: String::from("SUCCESS"),
message: String::from("Transaction successful")
}
} else {
return ResponseStruct {
ResponseStruct {
status: String::from("ERROR"),
message: String::from("Transaction failed")
}
Expand Down

0 comments on commit e59ee15

Please sign in to comment.