This commit is contained in:
Karmanyaah Malhotra 2021-05-08 16:01:24 -04:00
parent 6eba33b3be
commit c2dbe7021e

View File

@ -53,7 +53,7 @@ func (c *Client) IndexChats(ctx context.Context, req *IndexChatsQuery) ([]*Chat,
return resp, nil
}
func (c *Client) IndexAllRelations(ctx context.Context) ([]*User, error) {
func (c *Client) IndexRelations(ctx context.Context) ([]*User, error) {
httpReq, err := http.NewRequest("GET", "https://api.groupme.com/v4"+"/relationships", nil)
if err != nil {
return nil, err