Skip to content

Commit cd902f5

Browse files
authored
Merge pull request #47 from codacy/fix-values-on-pull-request-comment
Add missing object
2 parents d27ad8b + 3d6087c commit cd902f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/codacy/client/bitbucket/v2/service/PullRequestServices.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class PullRequestServices(client: BitbucketClient) {
8787
}
8888

8989
def createPullRequestComment(author: String, repo: String, prId: Int, content: String): RequestResponse[PullRequestComment] = {
90-
val values = Json.obj("content" -> JsString(content))
90+
val values = Json.obj("content" -> Json.obj("raw" -> JsString(content)))
9191
postNewComment(author, repo, prId, values)
9292
}
9393

0 commit comments

Comments
 (0)