diff --git a/core/src/main/scala/io/chrisdavenport/github/data/Teams.scala b/core/src/main/scala/io/chrisdavenport/github/data/Teams.scala index be0de2b..64df163 100644 --- a/core/src/main/scala/io/chrisdavenport/github/data/Teams.scala +++ b/core/src/main/scala/io/chrisdavenport/github/data/Teams.scala @@ -32,7 +32,7 @@ object Teams { object AddTeamRepoPermission { implicit val encoder: Encoder[AddTeamRepoPermission] = new Encoder[AddTeamRepoPermission]{ def apply(a: AddTeamRepoPermission): Json = Json.obj( - "permissions" -> a.permission.asJson + "permission" -> a.permission.asJson ) } }