Skip to content

Commit

Permalink
handle empty label
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Dec 26, 2024
1 parent 634b500 commit 8fc03c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8fc03c0

Please sign in to comment.