This commit is contained in:
Abhinav Raut
2024-06-10 03:45:48 +05:30
parent edab73a8fa
commit 6a27b2fa4b
104 changed files with 4786 additions and 1792 deletions

View File

@@ -10,7 +10,7 @@ func handleGetTeams(r *fastglue.Request) error {
var (
app = r.Context.(*App)
)
teams, err := app.userDB.GetTeams()
teams, err := app.teamMgr.GetAll()
if err != nil {
return r.SendErrorEnvelope(http.StatusInternalServerError, "Something went wrong, try again later.", nil, "")
}