Skip to content

Commit

Permalink
chore: rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop authored Nov 5, 2024
1 parent c727a50 commit 6a613c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions query/getters.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func FlushGettersCache() {
immutableCache.Flush()
}

// GetterCacheDeleteByID deletes a single item from the getters cache
func GetterCacheDeleteByID[T any](id string) {
// InvalidateCacheByID deletes a single item from the getters cache
func InvalidateCacheByID[T any](id string) {
key := cacheKey[T]("id", id)
getterCache.Delete(key)
}
Expand Down

0 comments on commit 6a613c0

Please sign in to comment.