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

Prevent known domains in pipedrive #1729

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

matthewelwell
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?

Changes

Add a list of known domains so we can prevent leads being added to Pipedrive.

How did you test this code?

Added unit tests

@@ -798,3 +798,7 @@
PIPEDRIVE_SIGN_UP_TYPE_DEAL_FIELD_KEY = env.str(
"PIPEDRIVE_SIGN_UP_TYPE_DEAL_FIELD_KEY", None
)
PIPEDRIVE_IGNORE_DOMAINS = env.list(
"PIPEDRIVE_IGNORE_DOMAINS",
["solidstategroup.com", "flagsmith.com", "bullet-train.io"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

should we add gmail.com, hotmail.com, etc. to this list?

@matthewelwell matthewelwell merged commit 6bb5a94 into main Dec 2, 2022
@matthewelwell matthewelwell deleted the improvement/prevent-known-domains-in-pipedrive branch December 2, 2022 11:34
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