From 2b9abff7f154f913514b557b7f557d08c5ea0ab8 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Thu, 12 Mar 2020 00:36:06 +0100 Subject: [PATCH] add: receive more controller properties and save them add: more tests --- controllers/api_v1_controllers_discover.cc | 19 +++++++---------- sql/migration_0.sql | 1 + .../test_schedules_protected.tavern.yaml | 21 +++++++++++++++++++ 3 files changed, 29 insertions(+), 12 deletions(-) diff --git a/controllers/api_v1_controllers_discover.cc b/controllers/api_v1_controllers_discover.cc index 0f9d548..75b1bd1 100644 --- a/controllers/api_v1_controllers_discover.cc +++ b/controllers/api_v1_controllers_discover.cc @@ -106,16 +106,10 @@ void controllers::post_discover(const HttpRequestPtr &req, std::function