Skip to content

Commit

Permalink
fix: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Oct 17, 2016
1 parent c5120d6 commit 17b9173
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/hooks/hooks.js
Expand Up @@ -89,12 +89,6 @@ var hooks = {
afterSave: (obj, abe) => {
return obj
},
beforeReject: (url, abe) => {
return url
},
afterReject: (url, abe) => {
return url
},
beforeSaveImage: (folderWebPath, req, abe) => {
return folderWebPath
},
Expand Down
2 changes: 1 addition & 1 deletion src/server/routes/post-publish.js
Expand Up @@ -13,7 +13,7 @@ var route = function(req, res, next){
req.body.filePath,
req.body.tplPath,
req.body.json
);
)

p.then((result) => {
res.set('Content-Type', 'application/json')
Expand Down
2 changes: 1 addition & 1 deletion src/server/routes/post-reject.js
Expand Up @@ -14,7 +14,7 @@ var route = function(req, res, next){
req.body.filePath,
req.body.tplPath,
req.body.json
);
)

p.then((result) => {
res.set('Content-Type', 'application/json')
Expand Down

0 comments on commit 17b9173

Please sign in to comment.