Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
websiteid commented
Browse files Browse the repository at this point in the history
  • Loading branch information
kdalsania committed Jul 26, 2018
1 parent a1c912f commit 9be41c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/purchase-order/purchase-order.hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = {
};

function beforeFind(hook) {
if(hook.params.query.websiteId == undefined) {
hook.result = {status:400, message: "Please pass websiteId"}
}
// if(hook.params.query.websiteId == undefined) {
// hook.result = {status:400, message: "Please pass websiteId"}
// }
}

0 comments on commit 9be41c4

Please sign in to comment.