Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(crm): Management commande de Synchronisation des utilisateurs avec Brevo #1178

Merged
merged 5 commits into from
May 3, 2024

Conversation

madjid-asa
Copy link
Contributor

Quoi ?

Les utilisateurs existent dans brevo, mais on a pas stocké les identifiants.

@madjid-asa madjid-asa requested a review from raphodn May 3, 2024 09:52
@madjid-asa madjid-asa self-assigned this May 3, 2024
@madjid-asa madjid-asa force-pushed the madjid-asa/sync-users-brevo-with-crm-id branch from ee0e84a to 9dab3ef Compare May 3, 2024 12:21
@madjid-asa madjid-asa changed the title Synchroniser les utilisateurs avec Brevo Management commande de Synchronisation des utilisateurs avec Brevo May 3, 2024
@madjid-asa madjid-asa force-pushed the madjid-asa/sync-users-brevo-with-crm-id branch from 72b620e to 0f15839 Compare May 3, 2024 12:50
Copy link
Contributor

@raphodn raphodn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good !!


if not dry_run:
for user in users_qs:
brevo_contact_id = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
brevo_contact_id = None
brevo_contact_id = user.brevo_contact_id

non ? pour skip les users qui sont déjà sync ?

Copy link
Contributor Author

@madjid-asa madjid-asa May 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T'as raison j'ai oublié le cas des users déjà sync, mais je le gère pas comme ça, (voir 5ec2f1e), je check si il correspond à l'id fourni par brevo pour skip

@madjid-asa madjid-asa changed the title Management commande de Synchronisation des utilisateurs avec Brevo feat(crm): Management commande de Synchronisation des utilisateurs avec Brevo May 3, 2024
@madjid-asa madjid-asa merged commit c4733e7 into master May 3, 2024
5 checks passed
@madjid-asa madjid-asa deleted the madjid-asa/sync-users-brevo-with-crm-id branch May 3, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants