Skip to content

Commit

Permalink
Fix SpringRestToolKit getBean param mistake (#14742)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxsean authored Oct 2, 2024
1 parent b9a2f19 commit a6610c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public SpringRestToolKit(FrameworkModel frameworkModel) {
configuration = new ConfigurationWrapper(applicationModel);
}
if (context != null && context.containsBean("mvcConversionService")) {
conversionService = context.getBean(ConversionService.class, "mvcConversionService");
conversionService = context.getBean("mvcConversionService", ConversionService.class);
} else {
conversionService = DefaultConversionService.getSharedInstance();
}
Expand Down

0 comments on commit a6610c6

Please sign in to comment.