Browse Source

add imp of process

master
Jørgen Sverre Lien Sellæg 5 years ago
parent
commit
889d44dbdd
  1. 1
      include/data.hpp
  2. 4
      src/data.cpp

1
include/data.hpp

@ -11,4 +11,5 @@ class data : public json {
public:
data();
json process(const json &);
};

4
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}};
}
Loading…
Cancel
Save