From 02475e05ccd1aa15c6a6163834f28bfebbef796f Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 30 Nov 2026 11:47:36 +0100 Subject: RWGPS webhook and such --- server/src/config.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/src/config.cpp') 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( { return { .api_key_filename = r.expect_at("api_key_filename"), + .api_secret_filename = + r.expect_at("api_secret_filename"), .auth_token_filename = r.expect_at("auth_token_filename"), }; @@ -222,7 +224,7 @@ auto json_value_to_app(json::value const& jv) -> app [](object_reader& r) -> app { return { - .rwgps = r.allow_at("rwgps"), + .rwgps = r.expect_at("rwgps"), .situations = r.expect_at("situations"), .database = r.expect_at("database"), .http_server = r.expect_at("http_server"), -- cgit v1.3.1