aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/terminaldweller/doc/DocConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/terminaldweller/doc/DocConfig.java')
-rw-r--r--src/main/java/com/terminaldweller/doc/DocConfig.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/terminaldweller/doc/DocConfig.java b/src/main/java/com/terminaldweller/doc/DocConfig.java
index 1826817..b75b0d4 100644
--- a/src/main/java/com/terminaldweller/doc/DocConfig.java
+++ b/src/main/java/com/terminaldweller/doc/DocConfig.java
@@ -11,8 +11,8 @@ public class DocConfig {
@Bean
CommandLineRunner commandLineRunner(DocRepository repository) {
return args -> {
- Doc mydoc1 = new Doc("mydoc1", 0L);
- Doc mydoc2 = new Doc("mydoc2", 0L);
+ Doc mydoc1 = new Doc("mydoc1", 0L, "");
+ Doc mydoc2 = new Doc("mydoc2", 0L, "");
repository.saveAll(List.of(mydoc1, mydoc2));
};