Creation of a reminder via web api
Concurrently run the reminder service as well as an web endpoint to create a new reminder. Note that a new reminder does not notify the reminder service yet. Cargo update dependencies
This commit is contained in:
parent
6b6f5aa48a
commit
7ded3ef430
5 changed files with 123 additions and 56 deletions
|
@ -106,7 +106,9 @@ impl Config {
|
|||
xdg::BaseDirectories::with_prefix(env!("CARGO_BIN_NAME"))?.get_config_file(file);
|
||||
match Self::load_file(&user_config) {
|
||||
Ok(config) => return Ok(config),
|
||||
Err(error) => warn!(file = ?user_config, "cannot load configuration: {:#}", Error::msg(error)),
|
||||
Err(error) => {
|
||||
warn!(file = ?user_config, "cannot load configuration: {:#}", Error::msg(error));
|
||||
}
|
||||
}
|
||||
|
||||
let global_config = format!("/etc/{}/{}", env!("CARGO_BIN_NAME"), file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue