Skip to content

Commit 9ad00c7

Browse files
committed
fix(og): remove refresh=true from internal streak fetch to prevent unnecessary GitHub API calls
1 parent 7bb40d1 commit 9ad00c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/api/og/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export async function GET(req: NextRequest) {
1616
try {
1717
const baseUrl = req.nextUrl.origin;
1818

19-
const res = await fetch(`${baseUrl}/api/streak?user=${user}&refresh=true`, {
19+
const res = await fetch(`${baseUrl}/api/streak?user=${user}`, {
2020
cache: 'no-store',
2121
});
2222

0 commit comments

Comments
 (0)