Skip to content

Commit

Permalink
Change post to postContent in the handleFriendRequest method (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoACE6716 authored Aug 25, 2024
1 parent 0514f5c commit 1d84fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/snw/kookbc/impl/HttpAPIImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,6 @@ public void handleFriendRequest(int id, boolean accept) {
.put("id", id)
.put("accept", accept ? 1 : 0)
.build();
HttpAPIImpl.this.client.getNetworkClient().post(HttpAPIRoute.FRIEND_HANDLE_REQUEST.toFullURL(), body);
HttpAPIImpl.this.client.getNetworkClient().postContent(HttpAPIRoute.FRIEND_HANDLE_REQUEST.toFullURL(), body);
}
}

0 comments on commit 1d84fdc

Please sign in to comment.