From c2dbe7021e1e9d8a90043cf009ba6deae4e7fd64 Mon Sep 17 00:00:00 2001 From: Karmanyaah Malhotra Date: Sat, 8 May 2021 16:01:24 -0400 Subject: [PATCH] fix --- chats_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chats_api.go b/chats_api.go index ce0fd0b..97f454a 100644 --- a/chats_api.go +++ b/chats_api.go @@ -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