diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/features/announcements/api.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/features/announcements/api.js b/src/features/announcements/api.js index f34a62745..53df69eed 100644 --- a/src/features/announcements/api.js +++ b/src/features/announcements/api.js | |||
@@ -12,6 +12,7 @@ export const announcementsApi = { | |||
12 | }, | 12 | }, |
13 | 13 | ||
14 | async getChangelog(version) { | 14 | async getChangelog(version) { |
15 | // TODO: This doesn't seem to handle the different 'nightlies' repo that we currently use. Needs to be fixed. | ||
15 | const url = `https://api.github.com/repos/${GITHUB_ORG_NAME}/${GITHUB_FERDI_REPO_NAME}/releases/tags/v${version}`; | 16 | const url = `https://api.github.com/repos/${GITHUB_ORG_NAME}/${GITHUB_FERDI_REPO_NAME}/releases/tags/v${version}`; |
16 | debug(`fetching release changelog from Github url: ${url}`); | 17 | debug(`fetching release changelog from Github url: ${url}`); |
17 | const request = await window.fetch(url, { method: 'GET' }); | 18 | const request = await window.fetch(url, { method: 'GET' }); |