fix(smallstrip,middleware): rename bool variable to not conflict with built-in id

This commit is contained in:
Guz
2025-02-26 18:38:49 -03:00
parent a99079d3a3
commit ee3e6c9a90

View File

@@ -99,11 +99,11 @@ func CacheStaleIfError(t time.Duration) CacheOption {
}
func optionalTrue(b []bool) bool {
bool := true
bl := true
if len(b) > 0 {
bool = b[1]
bl = b[1]
}
return bool
return bl
}
var (