diff --git a/packages/canyon-platform/app/api/project/[id]/record/route.ts b/packages/canyon-platform/app/api/project/[id]/record/route.ts index 924b4e73..a644f61f 100644 --- a/packages/canyon-platform/app/api/project/[id]/record/route.ts +++ b/packages/canyon-platform/app/api/project/[id]/record/route.ts @@ -25,6 +25,7 @@ export async function GET(request: NextRequest) { statementsCovered: true, statementsTotal: true, updatedAt: true, + branch: true, }, orderBy: { updatedAt: "desc", @@ -38,7 +39,7 @@ export async function GET(request: NextRequest) { times: 0, statements: percent(item.statementsCovered, item.statementsTotal), message: "message", - branch: "branch", + branch: item.branch, lastReportTime: item.updatedAt, }; });