Browse Source

Add missing publish parameter for pre-defined book entity objects

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.3-alpha
Pekka Helenius 4 years ago
parent
commit
3b3f3aba10
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bookstore/src/main/java/com/fjordtek/bookstore/BookstoreApplication.java

+ 2
- 2
bookstore/src/main/java/com/fjordtek/bookstore/BookstoreApplication.java View File

@ -161,7 +161,7 @@ public class BookstoreApplication extends SpringBootServletInitializer {
"1231231-12",
new BigDecimal("18.00"),
categoryRepository.findByName("Horror").get(0),
1
true
);
Book bookB = new Book(
@ -173,7 +173,7 @@ public class BookstoreApplication extends SpringBootServletInitializer {
"3213221-3",
new BigDecimal("19.99"),
categoryRepository.findByName("Fantasy").get(0),
1
true
);
commonLogger.info("Add new sample books to the database");


Loading…
Cancel
Save