diff options
author | Felix Ableitner <me@nutomic.com> | 2020-04-03 07:02:43 +0200 |
---|---|---|
committer | Felix Ableitner <me@nutomic.com> | 2020-04-03 07:02:43 +0200 |
commit | 96c3621a801d96a8d2bffc849d871c297683e387 (patch) | |
tree | 32487c48a63fa9d01ce4ae4d9bb09421815e77e0 /server/src/api/community.rs | |
parent | 0d369e60197fd8a967200ee6c02a9f84beaf5dca (diff) |
Share list of communities over apub, some refactoring
Diffstat (limited to 'server/src/api/community.rs')
-rw-r--r-- | server/src/api/community.rs | 10 |
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)] |