@desmat/redis-store 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -135,13 +135,13 @@ class RedisStore {
|
|
|
135
135
|
let count = query.count;
|
|
136
136
|
delete query.count;
|
|
137
137
|
if (typeof (count) != "undefined" && typeof (count) != "number") {
|
|
138
|
-
console.warn(`RedisStore.RedisStore<${this.key}>.id WARNING: query.count is not a
|
|
138
|
+
console.warn(`RedisStore.RedisStore<${this.key}>.id WARNING: query.count is not a number`);
|
|
139
139
|
count = undefined;
|
|
140
140
|
}
|
|
141
141
|
let offset = query.offset;
|
|
142
142
|
delete query.offset;
|
|
143
143
|
if (typeof (offset) != "undefined" && typeof (offset) != "number") {
|
|
144
|
-
console.warn(`RedisStore.RedisStore<${this.key}>.id WARNING: query.offset must be a
|
|
144
|
+
console.warn(`RedisStore.RedisStore<${this.key}>.id WARNING: query.offset must be a number`);
|
|
145
145
|
offset = undefined;
|
|
146
146
|
}
|
|
147
147
|
const min = offset || 0;
|