From da102a11db60336842e6fba3a43b94ccdbc83483 Mon Sep 17 00:00:00 2001 From: Alexander Petric Date: Tue, 11 Nov 2025 14:08:10 -0500 Subject: [PATCH] fix: use teams internal_id rather than id (#7113) * fix: use teams internal_id rather than id * npm check * ee ref --- backend/ee-repo-ref.txt | 2 +- frontend/src/lib/components/ConnectionSection.svelte | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/backend/ee-repo-ref.txt b/backend/ee-repo-ref.txt index c80ea5bc45..171d0cd0e7 100644 --- a/backend/ee-repo-ref.txt +++ b/backend/ee-repo-ref.txt @@ -1 +1 @@ -c5bc9392a6cb6d8c29d0fed64365cec8af7f4fa9 \ No newline at end of file +a12be19d3f500146b425c163248dc824688e0b24 diff --git a/frontend/src/lib/components/ConnectionSection.svelte b/frontend/src/lib/components/ConnectionSection.svelte index 63dce1727f..2c980c9033 100644 --- a/frontend/src/lib/components/ConnectionSection.svelte +++ b/frontend/src/lib/components/ConnectionSection.svelte @@ -141,7 +141,10 @@ bind:selectedTeam minWidth="180px" disabled={!$enterpriseLicense} - onError={(e) => sendUserToast('Failed to load teams: ' + e.message, true)} + onError={(e) => { + const errorMsg = typeof (e as any)?.body === 'string' ? (e as any).body : (e?.message || 'Unknown error') + sendUserToast('Failed to load teams: ' + errorMsg, true) + }} /> {/if} {:else}