summaryrefslogtreecommitdiffstats
path: root/server/src/config.cpp
diff options
context:
space:
mode:
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"),