diff --git a/bot/modules/releasenotes.js b/bot/modules/releasenotes.js index 7b30af1..2e6acc2 100644 --- a/bot/modules/releasenotes.js +++ b/bot/modules/releasenotes.js @@ -24,7 +24,7 @@ exports.releasenotes = { }; // Configure the request const options = { - url: 'https://api.github.com/repos/lbryio/lbry-' + releaseType + '/releases/latest', + url: 'https://api.github.com/repos/lbryio/lbry-' + releaseTypeName + '/releases/latest', method: 'GET', headers: headers };