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 361e16f commit a54cdb0Copy full SHA for a54cdb0
src/server/api/schema.js
@@ -1345,6 +1345,15 @@ const rootMutations = {
1345
1346
if (!await Van.available(organization)) return newContact;
1347
1348
+ // Checking that contact contains a vanId
1349
+ // If not, return and skip next steps
1350
+ try {
1351
+ const c = JSON.stringify(contact.customFiels);
1352
+ if (!"vanId" in c) return newContact;
1353
+ } catch (exception) {
1354
+ console.log(exception)
1355
+ }
1356
+
1357
console.log(
1358
"createOptOut VAN"
1359
);
0 commit comments