This commit is contained in:
Ben Ramey
2018-09-18 20:09:19 -05:00
parent 136a6f4df0
commit d08bc9cb56

View File

@@ -26,7 +26,7 @@ const scan = async (tableName) => {
TableName: tableName TableName: tableName
}).promise(); }).promise();
return res && res.Item; return res && res.Items;
}; };
const queryByID = async (tableName, idKeyName, id) => { const queryByID = async (tableName, idKeyName, id) => {