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 b61df6f commit d3da76bCopy full SHA for d3da76b
src/main/scala/codecheck/github/models/User.scala
@@ -7,7 +7,7 @@ import org.json4s.JsonDSL._
7
case class User(value: JValue) extends AbstractJson(value) {
8
def login: String = get("login")
9
def id: Long = get("id").toLong
10
- def email: String = get("email")
+ def email: Option[String] = opt("email")
11
def name: String = get("name")
12
def blog: String = get("blog")
13
def company: String = get("company")
@@ -25,4 +25,4 @@ case class UserInput (
25
location: Option[String] = None,
26
hireable: Option[Boolean] = None,
27
bio: Option[String] = None
28
-) extends AbstractInput
+) extends AbstractInput
0 commit comments