diff options
Diffstat (limited to 'lib/domain/libimaghabit/src/store.rs')
-rw-r--r-- | lib/domain/libimaghabit/src/store.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/domain/libimaghabit/src/store.rs b/lib/domain/libimaghabit/src/store.rs index 197a1b64..5fbcf0cd 100644 --- a/lib/domain/libimaghabit/src/store.rs +++ b/lib/domain/libimaghabit/src/store.rs @@ -49,11 +49,11 @@ pub trait HabitStore { impl HabitStore for Store { /// Get an iterator over all habits fn all_habit_templates(&self) -> Result<HabitTemplateStoreIdIterator> { - Ok(HabitTemplateStoreIdIterator::from(self.entries()?.without_store())) + Ok(HabitTemplateStoreIdIterator::from(self.entries()?.into_storeid_iter())) } fn all_habit_instances(&self) -> Result<HabitInstanceStoreIdIterator> { - Ok(HabitInstanceStoreIdIterator::from(self.entries()?.without_store())) + Ok(HabitInstanceStoreIdIterator::from(self.entries()?.into_storeid_iter())) } } |