[WIP] Getting all Polygons in a game.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user