From a1a213a1ba095f68d38660c4f848dc8244ccf5f2 Mon Sep 17 00:00:00 2001 From: dal Date: Thu, 21 Aug 2025 21:46:04 -0600 Subject: [PATCH] secret id --- apps/server/src/api/v2/metric_files/get-metric-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/api/v2/metric_files/get-metric-data.ts b/apps/server/src/api/v2/metric_files/get-metric-data.ts index 6559592e4..9528edebb 100644 --- a/apps/server/src/api/v2/metric_files/get-metric-data.ts +++ b/apps/server/src/api/v2/metric_files/get-metric-data.ts @@ -88,7 +88,7 @@ export async function getMetricDataHandler( let credentials: Credentials; try { const rawCredentials = await getDataSourceCredentials({ - dataSourceId: metric.secretId, + dataSourceId: metric.dataSourceId, }); // Ensure credentials have the correct type