Skip to content

Commit

Permalink
Merge pull request #370 from Optum/hotfix-empty-requests
Browse files Browse the repository at this point in the history
more flexible matching of empty request bodies, contd
  • Loading branch information
zparks authored Feb 26, 2019
2 parents 32e289a + e92c789 commit c954829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/virtual.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function registerRRPair(service, rrpair) {
}
}

if ((!rrpair.reqData && !payload) || match) {
if (!rrpair.reqData || match) {
// check request queries
if (rrpair.queries) {
// try the next rr pair if no queries were sent
Expand Down

0 comments on commit c954829

Please sign in to comment.