We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc59953 commit 0f0292dCopy full SHA for 0f0292d
apps/sim/lib/webhooks/deploy.ts
@@ -358,9 +358,9 @@ async function upsertSingleWebhook(params: {
358
359
const finalProviderConfig = {
360
...nextProviderConfig,
361
- credentialId: existingConfig.credentialId,
362
- credentialSetId: existingConfig.credentialSetId,
363
- userId: existingConfig.userId,
+ credentialId: nextProviderConfig.credentialId ?? existingConfig.credentialId,
+ credentialSetId: nextProviderConfig.credentialSetId ?? existingConfig.credentialSetId,
+ userId: nextProviderConfig.userId ?? existingConfig.userId,
364
historyId: existingConfig.historyId,
365
lastCheckedTimestamp: existingConfig.lastCheckedTimestamp,
366
setupCompleted: existingConfig.setupCompleted,
0 commit comments