From 7bba7176194c4d1d9c7066f8eda7a94491d924e6 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 30 Nov 2026 21:27:55 +0100 Subject: Cleanups and updates --- server/src/config.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'server/src/config.cpp') diff --git a/server/src/config.cpp b/server/src/config.cpp index 9231232..ec49aeb 100644 --- a/server/src/config.cpp +++ b/server/src/config.cpp @@ -138,11 +138,12 @@ auto tag_invoke( [](object_reader& r) -> rwgps { return { - .api_key_filename = r.expect_at("api_key_filename"), + .api_key_filename = + r.expect_at("api_key_filename"), .api_secret_filename = - r.expect_at("api_secret_filename"), + r.expect_at("api_secret_filename"), .auth_token_filename = - r.expect_at("auth_token_filename"), + r.expect_at("auth_token_filename"), }; }); } @@ -156,7 +157,8 @@ auto tag_invoke( [](object_reader& r) -> situations { return { - .datex2_filename = r.expect_at("datex2_filename"), + .datex2_filename = + r.expect_at("datex2_filename"), }; }); } @@ -170,7 +172,10 @@ auto tag_invoke( [](object_reader& r) -> database { return { - .sqlite3_filename = r.expect_at("sqlite3_filename"), + .sqlite3_filename = + r.expect_at("sqlite3_filename"), + .migrations_dir = + r.expect_at("migrations_dir"), }; }); } -- cgit v1.3.1