Skip to content

Commit a261f6e

Browse files
committed
Merge branch 'master' of github.com:Mechite/avaje-http into Mechite-master
2 parents d712402 + e8d40cd commit a261f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http-generator-javalin/src/main/java/io/avaje/http/generator/javalin/JavalinAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public String bodyAsClass(UType type) {
3939
if (useJsonB) {
4040
return type.shortName() + "JsonType.fromJson(ctx.bodyInputStream())";
4141
}
42-
return "ctx.bodyAsClass(" + type.mainType() + ".class)";
42+
return "ctx.<" + type.mainType() + ">bodyStreamAsClass(" + type.mainType() + ".class)";
4343
}
4444
}
4545

0 commit comments

Comments
 (0)