Skip to content

Commit 618aa33

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/main'
2 parents a1181b5 + a1f0053 commit 618aa33

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Sources/ATProtoKit/APIReference/ATProtoBlueskyAPI/FollowRecord/CreateFollowRecord.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extension ATProtoBluesky {
3131
public func createFollowRecord(
3232
actorDID: String,
3333
createdAt: Date = Date(),
34-
via: ComAtprotoLexicon.Repository.StrongReference,
34+
via: ComAtprotoLexicon.Repository.StrongReference? = nil,
3535
recordKey: String? = nil,
3636
shouldValidate: Bool? = true,
3737
swapCommit: String? = nil

Sources/ATProtoKit/APIReference/ChatBskyAPI/ChatBskyConvoUpdateReadMethod.swift

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

Sources/ATProtoKit/Models/Lexicons/chat.bsky/Convo/ChatBskyConvoUpdateRead.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,9 @@ extension ChatBskyLexicon.Conversation {
4040

4141
/// The conversation itself.
4242
public let conversationView: ConversationViewDefinition
43+
44+
enum CodingKeys: String, CodingKey {
45+
case conversationView = "convo"
46+
}
4347
}
4448
}

0 commit comments

Comments
 (0)