Skip to content

Commit

Permalink
chore: Fix keyring creation
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysonsantos committed Dec 27, 2023
1 parent 72493aa commit 154ad75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions keyring/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ use crate::local::{Keyring, KeyringError};

const SERVICE_NAME: &str = "mambembe";
lazy_static! {
static ref DEVICES: Keyring = Keyring::new(SERVICE_NAME, "devices.json");
static ref TOKENS: Keyring = Keyring::new(SERVICE_NAME, "tokens.json");
static ref DEVICES: Keyring =
Keyring::new(SERVICE_NAME, "devices.json").expect("failed to create keyring");
static ref TOKENS: Keyring =
Keyring::new(SERVICE_NAME, "tokens.json").expect("failed to create keyring");
}

type Result<T> = result::Result<T, MambembeKeyringError>;
Expand Down

0 comments on commit 154ad75

Please sign in to comment.