Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ui/src/hooks/api/useUpdates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ export const useCheckUpdates = (
queryKey: ['checkUpdates'],
queryFn: async () => {
try {
return await checkForUpdates();
return await checkForUpdates({ force: true });
} catch (error) {
if ((error as AxiosError).response?.status !== 401) {
return await checkForUpdates({
force: false,
force: true,
onlyInstalledVersion: true,
});
}
Expand Down