From 900d6ae3f05ef3373caa472b0ec7ab5dd5307f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=CC=81scar=20M=2E=20Lage?= Date: Fri, 19 Nov 2021 18:35:36 +0100 Subject: [PATCH] Add: Added user_id key to Config struct --- src/models/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/config.rs b/src/models/config.rs index 5de0c18..6b01365 100644 --- a/src/models/config.rs +++ b/src/models/config.rs @@ -9,6 +9,7 @@ use toml; pub struct Config { pub url: String, pub key: String, + pub user_id: u32, } impl Config { @@ -16,6 +17,7 @@ impl Config { Config { url: "https://uri".to_string(), key: "s3cr3tk3y".to_string(), + user_id: 0, } } pub fn parse(&mut self, config_file: &PathBuf) -> Config {