Skip to content

Commit

Permalink
Fix nil map assignment error
Browse files Browse the repository at this point in the history
  • Loading branch information
bluewolfali authored Mar 22, 2024
1 parent 342e633 commit 3a3d99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion social.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func (call *GetFriendshipStatusCall) WithContext(ctx context.Context) *GetFriend

// Do method
func (call *GetFriendshipStatusCall) Do() (*GetFriendshipStatusResponse, error) {
var urlQuery url.Values
urlQuery := url.Values{}
urlQuery.Set("access_token", call.accessToken)
res, err := call.c.getHeaderAuth(call.ctx, APIEndpointGetFriendshipStratus, urlQuery)
if res != nil && res.Body != nil {
Expand Down

0 comments on commit 3a3d99d

Please # to comment.