Skip to content

Commit 6c94736

Browse files
committed
Fix sendMessage bug
This method was being done through a GET request, rather than a POST request.
1 parent 67f0f0a commit 6c94736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ATProtoKit/APIReference/ChatBskyAPI/ChatSendMessage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extension ATProtoBlueskyChat {
4848
do {
4949
let request = await APIClientService.createRequest(
5050
forRequest: requestURL,
51-
andMethod: .get,
51+
andMethod: .post,
5252
acceptValue: "application/json",
5353
contentTypeValue: "application/json",
5454
authorizationValue: "Bearer \(accessToken)",

0 commit comments

Comments
 (0)