diff --git a/main.cpp b/main.cpp index df83e54..798d01c 100644 --- a/main.cpp +++ b/main.cpp @@ -73,7 +73,7 @@ void get( const std::shared_ptr< restbed::Session > session ) { bool atleastone = false; for(auto &x : restaurants) { atleastone = true; - ss << x->jsonify() << ","; + ss << x->jsonify({day}) << ","; } if(atleastone) ss.seekp(-1, ss.cur);