From e7faff7f9f7c83f15b9d66a4ae173a7349f6e496 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Mon, 9 Dec 2024 13:46:44 +0800 Subject: [PATCH] chore: daily development --- packages/canyon-platform/app/api/project/[id]/record/route.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, }; });