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

Commit

Permalink
Merge pull request #89 from FlowzPlatform/staging_hotfix
Browse files Browse the repository at this point in the history
websiteid commented
  • Loading branch information
mohit5540 authored Jul 26, 2018
2 parents a1c912f + 9be41c4 commit 6d84bbf
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 6d84bbf

Please sign in to comment.