mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Actually use provided stoers list
This commit is contained in:
parent
9c21f4d8e6
commit
16235d1d90
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class RedisStore(ABC):
|
|||
"""remove an object from all stores"""
|
||||
stores = stores or self.get_stores_for_object(obj)
|
||||
pipeline = r.pipeline()
|
||||
for store in self.get_stores_for_object(obj):
|
||||
for store in stores:
|
||||
pipeline.zrem(store, -1, obj.id)
|
||||
pipeline.execute()
|
||||
|
||||
|
|
Loading…
Reference in a new issue