Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
Method is changed from post to get
Browse files Browse the repository at this point in the history
Fixed Invalid status code: 405, method is changed from post to get
  • Loading branch information
aliforever authored and ahmdrz committed Oct 16, 2019
1 parent ba6fc5b commit 5fa7ca5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion users.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ func (user *User) FriendShip() error {
&reqOptions{
Endpoint: fmt.Sprintf(urlFriendship, user.ID),
Query: generateSignature(data),
IsPost: true,
},
)
if err == nil {
Expand Down

0 comments on commit 5fa7ca5

Please sign in to comment.