fix(xo-server/collection/redis#_extract): properly ignore missing entries
Introduced by d8280087a
Fixes #7281
This commit is contained in:
parent
9be3c40ead
commit
74ff64dfb4
@ -116,6 +116,10 @@ export default class Redis extends Collection {
|
||||
return Promise.all(
|
||||
map(ids, id => {
|
||||
return this.#get(prefix + id).then(model => {
|
||||
if (model === undefined) {
|
||||
return
|
||||
}
|
||||
|
||||
model = this._unserialize(model) ?? model
|
||||
|
||||
// Mix the identifier in.
|
||||
|
Loading…
Reference in New Issue
Block a user