Skip to content

Conversation

@crayolakat
Copy link

Description

Allows Spoke to be configured for unique opt-out-messages per state and org using the Smarty Streets API.

Checklist:

  • I have manually tested my changes on desktop and mobile
  • The test suite passes locally with my changes
  • If my change is a UI change, I have attached a screenshot to the description section of this pull request
  • My change is 300 lines of code or less, or has a documented reason in the description why it’s longer
  • I have made any necessary changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • My PR is labeled [WIP] if it is in progress

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud


lookup.zipCode = zip;

const res = await client.send(lookup);
Copy link

@codygordon codygordon Feb 28, 2024

Choose a reason for hiding this comment

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

just noting we do have a comprehensive static cache of zip to state seeded in the db (raw data), though there may be benefits to using the Smarty API?

Copy link
Author

Choose a reason for hiding this comment

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

Oh I didn't even realize this! The benefit of using the Smarty API is up-to-date data. But this is useful to know for future work if we or another org doesn't want to use Smarty API

@crayolakat crayolakat merged commit b8b651f into main Feb 29, 2024
@crayolakat crayolakat deleted the kathy-cpa branch February 29, 2024 14: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.

3 participants