aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/terminaldweller/doc/DocConfig.java
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-05-03 10:28:42 +0000
committerterminaldweller <thabogre@gmail.com>2022-05-03 10:28:42 +0000
commit056dcb5b4fda70f963bfb392fcd2816170f2bc12 (patch)
treecf79d8f2ef8cbfe574d59b9d785dbb52496aff4d /src/main/java/com/terminaldweller/doc/DocConfig.java
parentupdate (diff)
downloadmdrtl-056dcb5b4fda70f963bfb392fcd2816170f2bc12.tar.gz
mdrtl-056dcb5b4fda70f963bfb392fcd2816170f2bc12.zip
added PUT, the CRUD is done now. just need to test the crud
Diffstat (limited to '')
-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));
};