mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 01:26:43 +00:00
fix: default behavior
This commit is contained in:
@@ -1489,6 +1489,11 @@ const syncSecretsVercel = async ({
|
|||||||
|
|
||||||
const metadata = IntegrationMetadataSchema.parse(integration.metadata);
|
const metadata = IntegrationMetadataSchema.parse(integration.metadata);
|
||||||
|
|
||||||
|
// Default to overwrite target for old integrations that doesn't have a initial sync behavior set.
|
||||||
|
if (!metadata.initialSyncBehavior) {
|
||||||
|
metadata.initialSyncBehavior = IntegrationInitialSyncBehavior.OVERWRITE_TARGET;
|
||||||
|
}
|
||||||
|
|
||||||
const secretsToAddToInfisical: { [key: string]: VercelSecret } = {};
|
const secretsToAddToInfisical: { [key: string]: VercelSecret } = {};
|
||||||
|
|
||||||
Object.keys(res).forEach((vercelKey) => {
|
Object.keys(res).forEach((vercelKey) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user