Fixing issue with not getting back more than 10 communities

Fixes #72
This commit is contained in:
Dessalines 2019-04-18 07:43:59 -07:00
parent cb7adae5c9
commit 6219e29b3c

View file

@ -876,7 +876,7 @@ impl Perform for ListCommunities {
let sort = SortType::from_str(&self.sort).expect("listing sort"); let sort = SortType::from_str(&self.sort).expect("listing sort");
let communities: Vec<CommunityView> = CommunityView::list(&conn, user_id, sort, self.page, self.limit).unwrap(); let communities: Vec<CommunityView> = CommunityView::list(&conn, user_id, sort, self.page, Some(9999)).unwrap();
// Return the jwt // Return the jwt
serde_json::to_string( serde_json::to_string(