dbf importer small fix

This commit is contained in:
akulikov 2022-08-11 13:52:33 +03:00
parent 2c01a624af
commit 18b7909e36

View file

@ -29,8 +29,11 @@ public class DefaultController implements InitializingBean {
}
@RequestMapping(method = RequestMethod.GET, path = "/check", produces = MediaType.TEXT_PLAIN_VALUE)
public void checkFolder() {
@ResponseBody
public String checkFolder() {
log.info("Call check method for importer controller");
importerService.run();
return "dbf import complete, see log";
}