daster/source/requests/groupnumbers.d

12 lines
275 B
D

module requests.groupnumbers;
import vibe.vibe;
import response;
import data;
import singlog;
void groupNumbers(HTTPServerRequest req, HTTPServerResponse res) {
auto jsr = req.json;
res.writeJsonBody(sqlGetListNumbers(jsr["group"].get!string).serializeToJson());
}