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(),