Skip to content

Commit

Permalink
Add no automatic caching because of 2mb limit
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Feb 13, 2024
1 parent 969d96e commit 554e34a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/build/resolveOpenAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ async function resolveOpenAPI(): Promise<DeRefedOpenAPI> {
return cachedResonse;
}
const response = await fetch(
`https://raw.githubusercontent.com/getsentry/sentry-api-schema/${SENTRY_API_SCHEMA_SHA}/openapi-derefed.json`
`https://raw.githubusercontent.com/getsentry/sentry-api-schema/${SENTRY_API_SCHEMA_SHA}/openapi-derefed.json`,
{cache: 'no-store'}
);
cachedResonse = await response.json();
return cachedResonse!;
Expand Down

0 comments on commit 554e34a

Please sign in to comment.