shiftcode/dynamo-easy

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

steveunixson opened this issue · 1 comments

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

To Reproduce
call put method

Expected behavior
some data in dynamodb

nvm forgot to call .exec() at the end

should be something like this

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