fix: hardcode keyspace value to "vault" in init_session function
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user