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

chore(saas/hubspot): create contacts with default domain #3830

Merged

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 added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Add logic to create a lead in Hubspot when a user signs up but doesn't create or join an organisation.

How did you test this code?

Wrote some unit tests, as well as testing the hubspot API directly where needed.,

Copy link

vercel bot commented Apr 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 3:20pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 3:20pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 3:20pm

Copy link
Contributor

github-actions bot commented Apr 23, 2024

Uffizzi Preview deployment-50689 was deleted.

api/users/models.py Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Apr 23, 2024

Codecov Report

Attention: Patch coverage is 98.36066% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 95.94%. Comparing base (7451032) to head (53fd75d).
Report is 17 commits behind head on main.

Files Patch % Lines
api/integrations/lead_tracking/hubspot/client.py 85.71% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3830    +/-   ##
========================================
  Coverage   95.93%   95.94%            
========================================
  Files        1103     1125    +22     
  Lines       34842    35613   +771     
========================================
+ Hits        33427    34169   +742     
- Misses       1415     1444    +29     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthewelwell matthewelwell changed the title chore(saas hubspot): create contacts with default domain chore(saas/hubspot): create contacts with default domain Apr 24, 2024
Copy link
Contributor

@zachaysan zachaysan left a comment

Choose a reason for hiding this comment

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

Test coverage looks great and the rest of it looks good too. Just some small comments but no showstoppers.

@matthewelwell matthewelwell added this pull request to the merge queue Apr 24, 2024
Merged via the queue into main with commit ac674ed Apr 24, 2024
22 checks passed
@matthewelwell matthewelwell deleted the chore(saas-hubspot)/create-contacts-with-default-domain branch April 24, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants