Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultLesuisse authored Jul 19, 2018
2 parents 4372522 + 133e05b commit 6aea168
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/serviceController.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const transformer = require("../helpers/transformer")
const fs = require("fs");

exports.addService = async (params) => {
return await transformer.makeService(params);
}

exports.postCodeSearch = (params) => {
return new Promise((resolve, reject) => {
fs.readdir(__dirname + "/../files/", (err, files) => {
Expand Down
1 change: 0 additions & 1 deletion routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ router.get('/postcode', async (req, res, next) => {
});

router.post('/service/postcode', async (req, res, next) => {

try {
res.status(200)
var response = await serviceController.postCodeSearch(req.body);
Expand Down

0 comments on commit 6aea168

Please sign in to comment.