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

Fixing dynamodb DocumentClient initialization #109

Merged
merged 1 commit into from
Aug 31, 2017
Merged

Fixing dynamodb DocumentClient initialization #109

merged 1 commit into from
Aug 31, 2017

Conversation

Glockenbeat
Copy link
Contributor

Passing configuration values on initialization to the DynamoDB document client did not work since the DocumentClient constructor did not correctly receive the DynamoDB client as outlined in the SDK docs.
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html#constructor-property

This should be fixed now with this commit, being able to pass the init values as part of the configuration rather than the global AWS config object (env variables).

@adrai adrai merged commit 61791ba into thenativeweb:master Aug 31, 2017
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