From b37566af32f6152931741974f870846963114e4c Mon Sep 17 00:00:00 2001 From: Abdulla Abdurakhmanov Date: Fri, 6 Oct 2023 12:40:27 +0200 Subject: [PATCH] Docs updates --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab01c1e..ca3bcc7 100644 --- a/README.md +++ b/README.md @@ -647,9 +647,12 @@ let mut cache = FirestoreCache::new( &db, FirestoreMemoryCacheBackend::new( FirestoreCacheConfiguration::new().add_collection_config( - TEST_COLLECTION_NAME, - FirestoreListenerTarget::new(1000), - FirestoreCacheCollectionLoadMode::PreloadNone, + &db, + FirestoreCacheCollectionConfiguration::new( + TEST_COLLECTION_NAME, + FirestoreListenerTarget::new(1000), + FirestoreCacheCollectionLoadMode::PreloadNone, + ) ), )?, FirestoreMemListenStateStorage::new(),