From bcafcbf881fc1a84341fe397247b9bab99195cdc Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Mon, 23 Mar 2026 14:51:01 +0530 Subject: [PATCH] cardinality fix --- app/controllers/api/projects.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 65665fe6bf..718ebe9b75 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -1457,7 +1457,7 @@ Http::patch('/v1/projects/:projectId/smtp') throw new Exception(Exception::PROJECT_SMTP_CONFIG_INVALID, $error->getMessage()); } finally { $duration = microtime(true) - $validationStartTime; - $smtpVerificationDuration->record($duration, ['projectId' => $projectId, 'success' => isset($valid) && $valid]); + $smtpVerificationDuration->record($duration, ['success' => isset($valid) && $valid]); } }