Improving groups

This commit is contained in:
Adolfo Reyna
2023-01-22 22:47:48 -05:00
parent 9b20377f87
commit acab0eef66
3 changed files with 32 additions and 24 deletions

3
API.js
View File

@@ -257,6 +257,9 @@ const API = {
getRecentGroups() {
return getCall("/user/groups");
},
getFollowingGroups() {
return getCall("/user/groups/following");
},
searchGroups(query){
return getCall("/user/groups/search", query ? {query} : {}).then((data)=>{
if(data.status == "ok"){