diff --git a/include/routes.hpp b/include/routes.hpp index 8d4f4a8..680e016 100644 --- a/include/routes.hpp +++ b/include/routes.hpp @@ -4,7 +4,6 @@ class Routes { public: Routes(nlohmann::json); - ~Routes(); private: crow::SimpleApp app; diff --git a/src/endpoints/run-scripts.cpp b/src/endpoints/run-scripts.cpp index 3cad475..4fd7ccd 100644 --- a/src/endpoints/run-scripts.cpp +++ b/src/endpoints/run-scripts.cpp @@ -2,5 +2,6 @@ crow::response run_scripts(const nlohmann::json &run_scripts, const nlohmann::json &tokens, const crow::request &req) { // TODO: Implement run_scripts + return crow::response(501); } diff --git a/src/main.cpp b/src/main.cpp index 9b7ebe1..6bd64b0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -15,7 +15,7 @@ void signal_handler(const int signum) { int main(int argc, char **argv) { // Check for config file argument, exit if it's not there if (argc < 2 || argc > 2) { - std::cerr << "Usage: " << 0[argv] << " " << std::endl; + std::cerr << "Usage: " << 0[argv] << " " << std::endl; return 1; }