Skip to content

Commit c527ba6

Browse files
committed
remove dead code and CosmosDB implementation
1 parent 2bc5ef3 commit c527ba6

File tree

2 files changed

+1
-251
lines changed

2 files changed

+1
-251
lines changed

controllers/features.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,6 @@ const common = require('service-utils'),
44
HttpStatus = require('http-status-codes'),
55
services = require('../services');
66

7-
/*
8-
exports.upsert = function(req, res) {
9-
services.features.fromJsonApi(req.body, function(err, activity) {
10-
if (err) return common.utils.handleError(res, err);
11-
12-
services.features.create(features, function(err) {
13-
if (err) return common.utils.handleError(res, err);
14-
15-
services.features.toJsonApi(feature, function(featureJson) {
16-
res.send(activityJson);
17-
});
18-
});
19-
});
20-
};
21-
*/
22-
237
exports.getById = function(req, res) {
248
let query = {
259
id: req.params.id.split(','),
@@ -97,4 +81,4 @@ exports.getByBoundingBox = function(req, res) {
9781
features: features
9882
});
9983
});
100-
};
84+
};

services/featuresCosmosDb.js

Lines changed: 0 additions & 234 deletions
This file was deleted.

0 commit comments

Comments
 (0)