Fix scan
This commit is contained in:
@@ -26,7 +26,7 @@ const scan = async (tableName) => {
|
||||
TableName: tableName
|
||||
}).promise();
|
||||
|
||||
return res && res.Item;
|
||||
return res && res.Items;
|
||||
};
|
||||
|
||||
const queryByID = async (tableName, idKeyName, id) => {
|
||||
|
||||
Reference in New Issue
Block a user