summaryrefslogtreecommitdiffstats
path: root/server/src/config.cpp
diff options
context:
space:
mode:
authorRutger Broekhoff2026-11-30 11:47:36 +0100
committerRutger Broekhoff2026-11-30 11:47:36 +0100
commit02475e05ccd1aa15c6a6163834f28bfebbef796f (patch)
tree6bc6f453f07dc76f763310e1e5eade9a3e1115b7 /server/src/config.cpp
parent5732f6c14618f50ffaf315b93795340219a67c66 (diff)
downloadroutemon-02475e05ccd1aa15c6a6163834f28bfebbef796f.tar.gz
routemon-02475e05ccd1aa15c6a6163834f28bfebbef796f.zip
RWGPS webhook and such
Diffstat (limited to 'server/src/config.cpp')
-rw-r--r--server/src/config.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/config.cpp b/server/src/config.cpp
index 200b873..9231232 100644
--- a/server/src/config.cpp
+++ b/server/src/config.cpp
@@ -139,6 +139,8 @@ auto tag_invoke(
139 { 139 {
140 return { 140 return {
141 .api_key_filename = r.expect_at<std::string>("api_key_filename"), 141 .api_key_filename = r.expect_at<std::string>("api_key_filename"),
142 .api_secret_filename =
143 r.expect_at<std::string>("api_secret_filename"),
142 .auth_token_filename = 144 .auth_token_filename =
143 r.expect_at<std::string>("auth_token_filename"), 145 r.expect_at<std::string>("auth_token_filename"),
144 }; 146 };
@@ -222,7 +224,7 @@ auto json_value_to_app(json::value const& jv) -> app
222 [](object_reader& r) -> app 224 [](object_reader& r) -> app
223 { 225 {
224 return { 226 return {
225 .rwgps = r.allow_at<rwgps>("rwgps"), 227 .rwgps = r.expect_at<rwgps>("rwgps"),
226 .situations = r.expect_at<situations>("situations"), 228 .situations = r.expect_at<situations>("situations"),
227 .database = r.expect_at<database>("database"), 229 .database = r.expect_at<database>("database"),
228 .http_server = r.expect_at<http_server>("http_server"), 230 .http_server = r.expect_at<http_server>("http_server"),