Skip to content

Commit

Permalink
Fixing lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
fishcharlie committed Apr 19, 2020
1 parent 8ff18b4 commit 5a3a32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Model/index.js
Expand Up @@ -98,7 +98,7 @@ class Model {
{"key": "condition", "settingsIndex": -1, "dynamoKey": "ConditionCheck", "function": (key, condition) => ({
"Key": this.Document.toDynamo(convertObjectToKey.bind(this)(key)),
"TableName": this.name,
...(Boolean(condition) ? condition.requestObject() : {})
...(condition ? condition.requestObject() : {})
})}
].reduce((accumulator, currentValue) => {
const {key, modifier} = currentValue;
Expand Down

0 comments on commit 5a3a32c

Please sign in to comment.