Skip to content

Commit 0b94955

Browse files
committed
fixup error message
1 parent c0d38d3 commit 0b94955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/formtype.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func ValidateFormType(paramType string, optionCount int, specifiedFormType Param
8787
}
8888

8989
if !slices.Contains(allowed, specifiedFormType) {
90-
return paramType, specifiedFormType, xerrors.Errorf("value type %q is not supported for 'form_types'", paramType)
90+
return paramType, specifiedFormType, xerrors.Errorf("value type %q is not supported for 'form_types'", specifiedFormType)
9191
}
9292

9393
// Special case

0 commit comments

Comments
 (0)