We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ed2c8 commit 942d064Copy full SHA for 942d064
src/main/scala/com/codacy/client/bitbucket/v2/Repository.scala
@@ -20,7 +20,8 @@ case class Repository(
20
language: Option[String],
21
urls: Seq[RepositoryUrl],
22
uuid: String,
23
- slug: String
+ slug: String,
24
+ project: Option[String]
25
)
26
27
object Repository {
@@ -47,7 +48,8 @@ object Repository {
47
48
(__ \ "language").readNullable[String] and
49
(__ \ "links").read[Map[String, JsValue]].map(parseLinks) and
50
(__ \ "uuid" ).read[String] and
- (__ \ "slug" ).read[String]
51
+ (__ \ "slug" ).read[String] and
52
+ (__ \ "project" \ "type").readNullable[String]
53
) (Repository.apply _)
54
}
55
// format: on
0 commit comments