From 8fc03c06d96bc4a69b905fb887b80506588553ef Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Thu, 26 Dec 2024 01:17:47 -0500 Subject: [PATCH] handle empty label --- .../src/services/integration-auth/integration-sync-secret.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/integration-auth/integration-sync-secret.ts b/backend/src/services/integration-auth/integration-sync-secret.ts index 030167d69..2d42f971b 100644 --- a/backend/src/services/integration-auth/integration-sync-secret.ts +++ b/backend/src/services/integration-auth/integration-sync-secret.ts @@ -328,7 +328,7 @@ const syncSecretsAzureAppConfig = async ({ const metadata = IntegrationMetadataSchema.parse(integration.metadata); const azureAppConfigValuesUrl = `${integration.app}/kv?api-version=2023-11-01&key=${metadata.secretPrefix}*${ - metadata.azureLabel ? `&label=${metadata.azureLabel}` : "" + metadata.azureLabel ? `&label=${metadata.azureLabel}` : "&label=%00" }`; const azureAppConfigSecrets = (await getCompleteAzureAppConfigValues(azureAppConfigValuesUrl)).reduce(