diff --git a/internal/config/envconfig.go b/internal/config/envconfig.go index 139ab1b..73c1786 100644 --- a/internal/config/envconfig.go +++ b/internal/config/envconfig.go @@ -46,7 +46,7 @@ func getEnv[t string | bool | int | int64 | float64](env string, def t) (t, erro if err != nil { return (interface{})(int(0)).(t), err } - output = (interface{})(v.(int)).(t) + output = (interface{})(int(v.(int64))).(t) case int64: v, err := typeConversion("int64", val) if err != nil {