Skip to content

Commit 1eafad7

Browse files
Update api/pkg/di/container.go
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 8c74bba commit 1eafad7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/pkg/di/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ func (container *Container) FirebaseApp() (app *firebase.App) {
413413
return app
414414
}
415415

416-
// InMemoryCache creates a new instance of the in memory cache.Cache
416+
// InMemoryCache returns the shared in-memory cache.Cache, creating it on the first call.
417417
func (container *Container) InMemoryCache() cache.Cache {
418418
if container.inMemoryCache != nil {
419419
return container.inMemoryCache

0 commit comments

Comments
 (0)