Skip to content

Commit 3266381

Browse files
authored
[BUG] Brevo - Add or Updated Contact failed to update contact (#15069)
1 parent e5390d0 commit 3266381

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/brevo/actions/add-or-update-contact/add-or-update-contact.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "brevo-add-or-update-contact",
55
name: "Add or Update a contact",
66
description: "Add or Update a contact",
7-
version: "0.0.3",
7+
version: "0.0.4",
88
type: "action",
99
props: {
1010
brevo,
@@ -51,7 +51,7 @@ export default {
5151
return dynamicProps;
5252
},
5353
async run({ $ }) {
54-
let identifier = this.providedIdentifier;
54+
let identifier = this.providedIdentifier || this.email;
5555
const listIds = Object.keys(this.listIds).map((key) => parseInt(this.listIds[key], 10));
5656
let contact = null;
5757
if (identifier) {

components/brevo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/brevo",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Pipedream Brevo Components",
55
"main": "brevo.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)