mirror of
https://github.com/documenso/documenso.git
synced 2026-07-16 07:58:35 +10:00
fix: merged prs route
This commit is contained in:
@@ -4,7 +4,7 @@ import { transformRepoStats } from '@/lib/transform-repo-stats';
|
||||
export async function GET(request: Request) {
|
||||
const res = await fetch('https://stargrazer-live.onrender.com/api/stats');
|
||||
const data = await res.json();
|
||||
const transformedData = transformRepoStats(data, 'stars');
|
||||
const transformedData = transformRepoStats(data, 'mergedPRs');
|
||||
|
||||
return cors(
|
||||
request,
|
||||
|
||||
Reference in New Issue
Block a user