Compare View
Commits (2)
Changes
Showing 3 changed files Side-by-side Diff
lib/http-listener.js
... | ... | @@ -33,7 +33,7 @@ function mainHandler(req, res) { |
33 | 33 | if (!req.body) req.body = {}; |
34 | 34 | |
35 | 35 | if ( |
36 | - ( !req.body.partner || !req.query.partner ) | |
36 | + ( !req.body.partner && !req.query.partner ) | |
37 | 37 | && |
38 | 38 | ( |
39 | 39 | ( (!req.query.is_outgoing && !req.body.is_outgoing) && (!req.query.from && !req.body.from) ) |
package-lock.json