Fix incorrect handle_by_id

This commit is contained in:
micialware committed 2026-08-29 22:50:18 +03:00
1 parent 2c1163fc3b
commit 4b17a5a4a7
1 file changed
+1 -1
+1 -1
View File
@@ -307,7 +307,7 @@ impl<T: EntityData + Clone, D: DbLayer<T>> Repository<T, D> for DataRepositoryIn
} }
fn handle_by_id(&self, id: Id) -> EntityHandle<T> { fn handle_by_id(&self, id: Id) -> EntityHandle<T> {
EntityHandle::new(id, id.0 as usize, false) EntityHandle::new(id, id.0 as usize, true)
} }
fn create(&mut self, mut new: T) -> EntityHandle<T> { fn create(&mut self, mut new: T) -> EntityHandle<T> {