fix: hardcode keyspace value to "vault" in init_session function
This commit is contained in:
parent
ed76ba3d8d
commit
1f2d7e3fec
Binary file not shown.
@ -26,7 +26,7 @@ pub use vault::session_singleton::SESSION_MANAGER;
|
||||
pub async fn init_session(keyspace: &str, password: &str) -> Result<(), JsValue> {
|
||||
let keyspace = keyspace.to_string();
|
||||
let password_vec = password.as_bytes().to_vec();
|
||||
match WasmStore::open(&keyspace).await {
|
||||
match WasmStore::open("vault").await {
|
||||
Ok(store) => {
|
||||
let vault = vault::Vault::new(store);
|
||||
let mut manager = SessionManager::new(vault);
|
||||
|
Loading…
Reference in New Issue
Block a user