work
This commit is contained in:
@@ -57,7 +57,7 @@ pub async fn run_server(port: u16) {
|
||||
let _ = handle.await;
|
||||
endpoint.wait_idle().await;
|
||||
println!("saving...");
|
||||
db.flush_async().await.unwrap();
|
||||
db.flush();
|
||||
println!("saved");
|
||||
}
|
||||
|
||||
@@ -162,6 +162,7 @@ impl RecvHandler<ClientMsgInst> for ClientHandler {
|
||||
}
|
||||
ClientMsg::CreateAccount(info) => {
|
||||
let CreateAccount {
|
||||
token,
|
||||
username,
|
||||
password,
|
||||
login_key,
|
||||
|
||||
Reference in New Issue
Block a user