This commit is contained in:
bkellam 2025-10-30 11:07:49 -07:00
parent 45bac0fb74
commit 067668bb1e

View file

@ -305,7 +305,8 @@ export const getProjectsForAuthenticatedUser = async (visibility: 'private' | 'i
} : {}), } : {}),
perPage: 100, perPage: 100,
}); });
return fetchWithRetry(fetchFn, `authenticated user`, logger) as Promise<ProjectSchema[]>; const response = await fetchWithRetry(fetchFn, `authenticated user`, logger);
return response;
} catch (error) { } catch (error) {
Sentry.captureException(error); Sentry.captureException(error);
logger.error(`Failed to fetch projects for authenticated user.`, error); logger.error(`Failed to fetch projects for authenticated user.`, error);