diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-07-18 04:17:33 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-07-18 04:17:33 -0400 |
commit | a5e44ca1477bd01f24eef174f65108f61aa42ef9 (patch) | |
tree | 82caf8760f23f79efa4aca03c13c4ada7290b6cf /src/bin | |
parent | deea6de0641d0438dec3b00d4f5948d41c9f3ef3 (diff) | |
download | rbw-a5e44ca1477bd01f24eef174f65108f61aa42ef9.tar.gz rbw-a5e44ca1477bd01f24eef174f65108f61aa42ef9.zip |
fix not being able to set notifications_url
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/rbw/commands.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/rbw/commands.rs b/src/bin/rbw/commands.rs index 10f981d..2e1b483 100644 --- a/src/bin/rbw/commands.rs +++ b/src/bin/rbw/commands.rs @@ -678,6 +678,9 @@ pub fn config_set(key: &str, value: &str) -> anyhow::Result<()> { "email" => config.email = Some(value.to_string()), "base_url" => config.base_url = Some(value.to_string()), "identity_url" => config.identity_url = Some(value.to_string()), + "notifications_url" => { + config.notifications_url = Some(value.to_string()) + } "client_cert_path" => { config.client_cert_path = Some(std::path::PathBuf::from(value.to_string())); @@ -720,6 +723,7 @@ pub fn config_unset(key: &str) -> anyhow::Result<()> { "email" => config.email = None, "base_url" => config.base_url = None, "identity_url" => config.identity_url = None, + "notifications_url" => config.notifications_url = None, "client_cert_path" => config.client_cert_path = None, "lock_timeout" => { config.lock_timeout = rbw::config::default_lock_timeout(); |