From 889d44dbddd27eb66c4844c98a57c1ec920802c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Sverre=20Lien=20Sell=C3=A6g?= Date: Sat, 22 May 2021 19:31:51 +0200 Subject: [PATCH] add imp of process --- include/data.hpp | 1 + src/data.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/include/data.hpp b/include/data.hpp index 3840bd3..3328d67 100644 --- a/include/data.hpp +++ b/include/data.hpp @@ -11,4 +11,5 @@ class data : public json { public: data(); + json process(const json &); }; diff --git a/src/data.cpp b/src/data.cpp index 704e42d..55fe337 100644 --- a/src/data.cpp +++ b/src/data.cpp @@ -41,3 +41,7 @@ void data::create_data_directory() { } fs::path data::get_store_path() { return get_data_path() / "store.json"; } + +nlohmann::json data::process(const nlohmann::json &) { + return {{"success", true}}; +} \ No newline at end of file