summaryrefslogtreecommitdiffstats
path: root/server/src/api/community.rs
diff options
context:
space:
mode:
authorFelix Ableitner <me@nutomic.com>2020-04-03 07:02:43 +0200
committerFelix Ableitner <me@nutomic.com>2020-04-03 07:02:43 +0200
commit96c3621a801d96a8d2bffc849d871c297683e387 (patch)
tree32487c48a63fa9d01ce4ae4d9bb09421815e77e0 /server/src/api/community.rs
parent0d369e60197fd8a967200ee6c02a9f84beaf5dca (diff)
Share list of communities over apub, some refactoring
Diffstat (limited to 'server/src/api/community.rs')
-rw-r--r--server/src/api/community.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/api/community.rs b/server/src/api/community.rs
index dac8733b..2bc6e357 100644
--- a/server/src/api/community.rs
+++ b/server/src/api/community.rs
@@ -36,11 +36,11 @@ pub struct CommunityResponse {
#[derive(Serialize, Deserialize, Debug)]
pub struct ListCommunities {
- sort: String,
- page: Option<i64>,
- limit: Option<i64>,
- auth: Option<String>,
- local_only: Option<bool>,
+ pub sort: String,
+ pub page: Option<i64>,
+ pub limit: Option<i64>,
+ pub auth: Option<String>,
+ pub local_only: Option<bool>,
}
#[derive(Serialize, Deserialize, Debug)]