Skip to content

Commit

Permalink
chore: update frontier provider get groups func
Browse files Browse the repository at this point in the history
  • Loading branch information
Chief-Rishab committed Dec 3, 2023
1 parent 11ae1fb commit 696b1cd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions plugins/providers/frontier/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,6 @@ func (c *client) GetGroups(orgID string) ([]*Group, error) {
}
groups := response[groupsConst]

for _, group := range groups {
admins, err := c.GetAdminsOfGivenResourceType(group.ID, groupsEndpoint)
if err != nil {
return nil, err
}
group.Admins = admins
}

c.logger.Info("Fetch groups from request", "total", len(groups), "url", req.URL)

return groups, err
Expand Down

0 comments on commit 696b1cd

Please sign in to comment.