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 a6285d27a0
commit 57f8113401

View File

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