chore(middleware/cache): fix typo (#3145)

pull/3146/head
miyamo2 2024-09-25 15:44:04 +09:00 committed by GitHub
parent 1169e9ac99
commit 0caa103a43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ func New(config ...Config) fiber.Handler {
// Get timestamp
ts := atomic.LoadUint64(&timestamp)
// Cache Entry not found
// Cache Entry found
if e != nil {
// Invalidate cache if requested
if cfg.CacheInvalidator != nil && cfg.CacheInvalidator(c) {