aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/juick/model/PrivateChats.java2
-rw-r--r--src/main/resources/application.properties1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/juick/model/PrivateChats.java b/src/main/java/com/juick/model/PrivateChats.java
index d386e978..c3a443f6 100644
--- a/src/main/java/com/juick/model/PrivateChats.java
+++ b/src/main/java/com/juick/model/PrivateChats.java
@@ -29,7 +29,7 @@ import java.util.List;
public class PrivateChats {
private List<Chat> users;
-
+
public PrivateChats() {
this.users = Collections.emptyList();
}
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index e89670fa..f0a6d03a 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,5 +1,6 @@
server.servlet.session.tracking-modes=cookie
spring.jackson.default-property-inclusion=non_default
spring.jackson.serialization.write-dates-as-timestamps=false
+spring.jackson.serialization.write-empty-json-arrays=true
spring.h2.console.enabled=true
spring.datasource.platform=h2