diff --git a/app/services/cached-query-tables.js b/app/services/cached-query-tables.js index 3efb1861..caa65584 100644 --- a/app/services/cached-query-tables.js +++ b/app/services/cached-query-tables.js @@ -15,7 +15,7 @@ CachedQueryTables.prototype.getAffectedTablesFromQuery = function(pg, sql, skipC var cachedResult; if (!skipCache) { - cachedResult = this.tableCache.get(cacheKey); + cachedResult = this.tableCache.peek(cacheKey); } if (cachedResult) {