Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mailosaur/mailosaur-node
Browse files Browse the repository at this point in the history
  • Loading branch information
jm-mailosaur committed Sep 15, 2023
2 parents 1cafd1f + f12e8bd commit 17a488d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Request {
const spread = Object.assign({}, options, {
protocol: urlResult.protocol,
hostname: urlResult.hostname,
path: urlResult.pathname + urlResult.search
path: urlResult.pathname + (urlResult.search || '')
});
const req = https.request(spread, (res) => {
const data = [];
Expand Down

0 comments on commit 17a488d

Please sign in to comment.