trigger linters
Some checks failed
Compile Java Backend / Compile Backend Code (push) Failing after 43s
Lint Java Backend / Checkstyle Java Linting (push) Failing after 42s
Lint Dockerfiles / Lint Dockerfiles (push) Failing after 30s
Lint Frontend / Lint HTML, CSS, and JS (push) Failing after 42s

This commit is contained in:
2025-11-10 16:16:50 +01:00
parent d38034d156
commit 52da2bf2b7

View File

@@ -15,7 +15,7 @@ import java.util.List;
public class MongoConfig {
@Bean
public CommandLineRunner loadPrescriptions(MongoTemplate mongoTemplate, ObjectMapper mapper) {
CommandLineRunner loadPrescriptions(MongoTemplate mongoTemplate, ObjectMapper mapper) {
return args -> {
if (mongoTemplate.getCollection("prescriptions").countDocuments() == 0) {
try (InputStream is = getClass().getResourceAsStream("/documents/prescriptions.json")) {