Skip to content

Commit c8fc04f

Browse files
authored
Merge pull request #259 from KC-2001MS/fix/bookmark-content-type
fix contentTypeValue in bookmark toggle methods
2 parents acf019b + 441fe02 commit c8fc04f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/ATProtoKit/APIReference/AppBskyAPI/AppBskyBookmarkCreateBookmarkMethod.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ extension ATProtoKit {
5757
forRequest: requestURL,
5858
andMethod: .post,
5959
acceptValue: "application/json",
60-
contentTypeValue: nil,
60+
contentTypeValue: "application/json",
6161
authorizationValue: "Bearer \(accessToken)"
6262
)
6363

Sources/ATProtoKit/APIReference/AppBskyAPI/AppBskyBookmarkDeleteBookmarkMethod.swift

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

0 commit comments

Comments
 (0)