diff --git a/api/hooks/example/services/ExampleService.js b/api/hooks/example/services/ExampleService.js index a943107d9c..adae3d9021 100755 --- a/api/hooks/example/services/ExampleService.js +++ b/api/hooks/example/services/ExampleService.js @@ -1,14 +1,8 @@ -/** - * Created by jaumard on 11/05/2015. - */ + + module.exports = { - /** - * Can be overrided on ExampleService.js file on your sails server - * @param req - * @param res - */ - test: function (req, res) { - console.log("test method on ExampleService"); - res.json('ok'); + + test: function () { + console.log("test method on ExampleService"); } }; \ No newline at end of file