Skip to content

Commit 24b1609

Browse files
committed
Fix user avatar json
1 parent 371715a commit 24b1609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/codacy/client/bitbucket/PullRequest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ object PullRequest {
4848
(__ \ "title").read[String] and
4949
(__ \ "description").read[String] and
5050
(__ \ "author" \ "username").read[String] and
51-
(__ \ "author" \ "links" \ "avatar").read[Option[String]] and
51+
(__ \ "author" \ "links" \ "avatar" \ "href").read[Option[String]] and
5252
(__ \ "state").read[String] and
5353
(__ \ "created_on").read[DateTime] and
5454
(__ \ "updated_on").read[DateTime] and

0 commit comments

Comments
 (0)