From 96c3621a801d96a8d2bffc849d871c297683e387 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 3 Apr 2020 07:02:43 +0200 Subject: Share list of communities over apub, some refactoring --- server/src/api/community.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server/src/api/community.rs') 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, - limit: Option, - auth: Option, - local_only: Option, + pub sort: String, + pub page: Option, + pub limit: Option, + pub auth: Option, + pub local_only: Option, } #[derive(Serialize, Deserialize, Debug)] -- cgit v1.2.3