shiftcode / dynamo-easy

DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.
https://shiftcode.github.io/dynamo-easy/
MIT License
204 stars 27 forks source link

put method does nothing, promise resolves but doesn't send any data to dynamodb #397

Closed steveunixson closed 2 years ago

steveunixson commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce call put method

Expected behavior some data in dynamodb

steveunixson commented 2 years ago

nvm forgot to call .exec() at the end

should be something like this

.put({
        userId,
        token,
      })
      .exec();