Fix get function

This commit is contained in:
zvon 2020-09-15 17:28:46 +02:00
parent 0b4ba4e0f9
commit 2d7cc4fab9

View File

@ -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);