mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 17:47:27 +00:00
Update releasenotes.js
This commit is contained in:
parent
1d6cb510be
commit
20cc8528e7
1 changed files with 3 additions and 2 deletions
|
@ -27,15 +27,16 @@ exports.releasenotes = {
|
|||
'User-Agent': 'Super Agent/0.0.1'
|
||||
};
|
||||
// Configure the request
|
||||
let options;
|
||||
if (releaseTypePost !== null) {
|
||||
const options = {
|
||||
options = {
|
||||
url: 'https://api.github.com/repos/lbryio/lbry-' + releaseTypePost + '/releases/latest',
|
||||
method: 'GET',
|
||||
headers: headers
|
||||
};
|
||||
} else {
|
||||
console.log('Release being sent: ' + releaseTypeName);
|
||||
const options = {
|
||||
options = {
|
||||
url: 'https://api.github.com/repos/lbryio/lbry-' + releaseTypeName + '/releases/latest',
|
||||
method: 'GET',
|
||||
headers: headers
|
||||
|
|
Loading…
Add table
Reference in a new issue