We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a0fb34 + 7c8e51a commit 1db2809Copy full SHA for 1db2809
utils/db-helper.js
@@ -36,7 +36,7 @@ async function getById(model, id) {
36
*/
37
async function scan(model, scanParams) {
38
return await new Promise((resolve, reject) => {
39
- model.scan(scanParams).consistent().exec((err, result) => {
+ model.scan(scanParams).consistent().all().exec((err, result) => {
40
if (err) {
41
return reject(err);
42
}
@@ -90,7 +90,7 @@ async function scanOne(model, scanParams) {
90
logger.debug('Enter scanOne.');
91
92
93
94
95
logger.debug(`scanOne. Error. ${err}`);
96
0 commit comments