[WIP] Getting all Polygons in a game.

This commit is contained in:
Umbra Sheep
2018-09-29 19:45:09 +12:00
parent 9cf06a7243
commit c6f28ab93a
3 changed files with 34 additions and 7 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ module.exports = function (server) {
server.get("/polygons", function (req, res, next) {
if (versioner.currentVersion === 1) {
apiV1.getPolygons(res);
apiV1.getPolygons(req, res);
return next();
}
res.send(200);