diff --git a/lib/core/table/TableStorageManager.js b/lib/core/table/TableStorageManager.js index 4ac35bff6..d36abe7c4 100644 --- a/lib/core/table/TableStorageManager.js +++ b/lib/core/table/TableStorageManager.js @@ -101,10 +101,10 @@ class TableStorageManager { const coll = this.db.getCollection(request.tableName); const findExpr = {}; if (request.partitionKey) { - findExpr['partitionKey'] = partitionKey; + findExpr['partitionKey'] = request.partitionKey; } if (request.rowKey) { - findExpr['rowKey'] = rowKey; + findExpr['rowKey'] = request.rowKey; } const chain = coll.chain().find(findExpr);