We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74dbfdb commit 6fe8a0cCopy full SHA for 6fe8a0c
src/github/FetchHandler.tsx
@@ -105,12 +105,12 @@ const FetchHandler: FC = () => {
105
if (allReleasesRefetchOk && enableFetchOpenDTUReleases) {
106
dispatch(setReleasesTimeout());
107
108
- const releases = await githubApi.request(
+ const releases = await githubApi.paginate(
109
'GET /repos/{owner}/{repo}/releases',
110
OpenDTUGithubBaseConfig,
111
);
112
113
- dispatch(setReleases({ releases: releases.data as Release[] }));
+ dispatch(setReleases({ releases: releases as Release[] }));
114
} else {
115
log.info('SKIP allReleasesRefetchOk');
116
}
0 commit comments