Skip to content

Commit a664e73

Browse files
committed
Merge pull request #7 from codacy/user_avatar_json
Fix user avatar json
2 parents 371715a + 24b1609 commit a664e73

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)