From 21927063ea989551613ae35ab4b71c9e880db0a1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 4 Oct 2022 21:45:26 +0300 Subject: Always include empty pms list in `groups_pms` API response --- src/main/java/com/juick/model/PrivateChats.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/com/juick/model') diff --git a/src/main/java/com/juick/model/PrivateChats.java b/src/main/java/com/juick/model/PrivateChats.java index 7a20ddbc..c480d00a 100644 --- a/src/main/java/com/juick/model/PrivateChats.java +++ b/src/main/java/com/juick/model/PrivateChats.java @@ -17,6 +17,7 @@ package com.juick.model; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Collections; @@ -34,6 +35,7 @@ public class PrivateChats { } @JsonProperty("pms") + @JsonInclude(JsonInclude.Include.ALWAYS) public List getUsers() { return users; } -- cgit v1.2.3