Skip to content

Commit 441fe02

Browse files
committed
fix contentTypeValue in bookmark toggle methods
1 parent 1681f15 commit 441fe02

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)