This commit is contained in:
2026-01-26 17:09:40 -05:00
parent 53ed4775ae
commit a8b55f669f
8 changed files with 656 additions and 252 deletions

View File

@@ -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,