Skip to content

Commit f8a86fe

Browse files
committed
[BUG] Brevo - Add or Updated Contact failed to update contact
1 parent 2e9c364 commit f8a86fe

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
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": [

pnpm-lock.yaml

Lines changed: 11 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)