trigger linters
Some checks failed
Compile Java Backend / Compile Backend Code (push) Failing after 51s
Lint Java Backend / Checkstyle Java Linting (push) Failing after 35s
Lint Dockerfiles / Lint Dockerfiles (push) Failing after 35s
Lint Frontend / Lint HTML, CSS, and JS (push) Failing after 1m36s

This commit is contained in:
2025-11-10 16:10:07 +01:00
parent 8024fba4aa
commit 139fd4ece6

View File

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