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

Fix for mocked data values and server exit callback #440

Merged
merged 3 commits into from
Feb 1, 2021

Conversation

miketalley
Copy link
Contributor

Description and Context

This PR adds a HUBSPOT_ACCOUNT_ID which can be obtained automatically when using the CLI to run the serverless-dev-runtime, but should have a default value when running it by importing.

This PR also updates the HUBSPOT_CONTACT_LIST_MEMBERSHIPS mock value from [] to '' to match the way it should be set in the .env and updates data.js to consume the values the same way, simplifying logic.

Lastly, a callback can now be passed to currentServer.exit if logic needs to wait for the server to shutdown.

@miketalley miketalley merged commit 8fa3985 into master Feb 1, 2021
@miketalley miketalley deleted the serverless/fix-for-mocked-data-values branch February 1, 2021 22:02
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.

1 participant