fix(xo-server/collection/redis#_extract): don't ignore empty records
This commit is contained in:
parent
c14261a0bc
commit
d8280087a4
@ -116,11 +116,6 @@ export default class Redis extends Collection {
|
||||
return Promise.all(
|
||||
map(ids, id => {
|
||||
return this.#get(prefix + id).then(model => {
|
||||
// If empty, consider it a no match.
|
||||
if (isEmpty(model)) {
|
||||
return
|
||||
}
|
||||
|
||||
model = this._unserialize(model) ?? model
|
||||
|
||||
// Mix the identifier in.
|
||||
|
Loading…
Reference in New Issue
Block a user