Skip to content

Commit b3eac31

Browse files
committed
Update ElementReader.java
1 parent 52b9eaf commit b3eac31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http-generator-core/src/main/java/io/avaje/http/generator/core/ElementReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public class ElementReader {
7676
useValidation = false;
7777
}
7878
if (ParamType.FORM == paramType || ParamType.BEANPARAM == paramType) {
79-
this.formBeanReader = getFormBeanReader(rawType, rawType, defaultType);
79+
this.formBeanReader = getFormBeanReader(rawType, rawType, paramType);
8080
this.imports.addAll(formBeanReader.imports());
8181
}
8282
}

0 commit comments

Comments
 (0)