Skip to content

Commit

Permalink
[BUG] Brevo - Add or Updated Contact failed to update contact
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortes committed Dec 25, 2024
1 parent 2e9c364 commit f8a86fe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "brevo-add-or-update-contact",
name: "Add or Update a contact",
description: "Add or Update a contact",
version: "0.0.3",
version: "0.0.4",
type: "action",
props: {
brevo,
Expand Down Expand Up @@ -51,7 +51,7 @@ export default {
return dynamicProps;
},
async run({ $ }) {
let identifier = this.providedIdentifier;
let identifier = this.providedIdentifier || this.email;
const listIds = Object.keys(this.listIds).map((key) => parseInt(this.listIds[key], 10));
let contact = null;
if (identifier) {
Expand Down
2 changes: 1 addition & 1 deletion components/brevo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/brevo",
"version": "0.1.2",
"version": "0.1.3",
"description": "Pipedream Brevo Components",
"main": "brevo.app.mjs",
"keywords": [
Expand Down
23 changes: 11 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8a86fe

Please sign in to comment.