Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
kathy-t committed Sep 13, 2023
1 parent 73058bd commit 11d2a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upsertGitHubTag/deployment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const verifyGitHub = (req, payload) => {
};

function getProtocol(url) {
return url.protocol === "https" ? https : http;
return url.protocol === "http:" ? http : https;
}

// Makes a POST request to the given path
Expand Down

0 comments on commit 11d2a17

Please sign in to comment.