diff options
author | terminaldweller <thabogre@gmail.com> | 2022-05-03 10:28:42 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-05-03 10:28:42 +0000 |
commit | 056dcb5b4fda70f963bfb392fcd2816170f2bc12 (patch) | |
tree | cf79d8f2ef8cbfe574d59b9d785dbb52496aff4d /src/main/java/com/terminaldweller/doc/DocConfig.java | |
parent | update (diff) | |
download | mdrtl-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.java | 4 |
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)); }; |