diff options
author | 2019-02-24 19:29:36 +0300 | |
---|---|---|
committer | 2019-02-24 19:29:36 +0300 | |
commit | e9a3361b31ae49a801b03bd2950e38896b1f3863 (patch) | |
tree | 71e9acb59e1c7ae166d26e99f125a233e52b46ca /src/main/java/com/juick/server/api/xnodeinfo2/model/Usage.java | |
parent | a7d29047bd49ae8afc887abba0317ba7d4aa49b1 (diff) |
/.well-known/nodeinfo
Diffstat (limited to 'src/main/java/com/juick/server/api/xnodeinfo2/model/Usage.java')
-rw-r--r-- | src/main/java/com/juick/server/api/xnodeinfo2/model/Usage.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/juick/server/api/xnodeinfo2/model/Usage.java b/src/main/java/com/juick/server/api/xnodeinfo2/model/Usage.java index e04ea48b..f270296f 100644 --- a/src/main/java/com/juick/server/api/xnodeinfo2/model/Usage.java +++ b/src/main/java/com/juick/server/api/xnodeinfo2/model/Usage.java @@ -1,5 +1,8 @@ package com.juick.server.api.xnodeinfo2.model; +import com.fasterxml.jackson.annotation.JsonView; + +@JsonView({NodeInfo.NodeInfoView.class, NodeInfo.XNodeInfoView.class}) public class Usage { private UserStats users; private int localPosts; |