From a5e44ca1477bd01f24eef174f65108f61aa42ef9 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 18 Jul 2023 04:17:33 -0400 Subject: fix not being able to set notifications_url --- src/bin/rbw/commands.rs | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- cgit v1.2.3-54-g00ecf