diff options
author | Vitaly Takmazov | 2022-12-24 08:15:43 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-12-24 08:15:43 +0300 |
commit | b6a76493f1711ad42cc8543bc73ae70b3d75868e (patch) | |
tree | 61ff105aecb0bb240b8d44949f4828b1e345ae21 /src/main/java/com/juick/www | |
parent | 0ab02be35b4f83a10c1d586c7e069b9e1dc4c075 (diff) |
ActivityPub: compatibility with Honk server
Diffstat (limited to 'src/main/java/com/juick/www')
-rw-r--r-- | src/main/java/com/juick/www/api/activity/model/Context.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/juick/www/api/activity/model/Context.java b/src/main/java/com/juick/www/api/activity/model/Context.java index 1eb057a6..5a66b3b3 100644 --- a/src/main/java/com/juick/www/api/activity/model/Context.java +++ b/src/main/java/com/juick/www/api/activity/model/Context.java @@ -110,6 +110,7 @@ public class Context implements Serializable { this.published = published; } + @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY) public List<String> getTo() { return to; } |