Skip to content

Commit

Permalink
Merge pull request #218 from guardian/optional-locale
Browse files Browse the repository at this point in the history
Make Locale optional
  • Loading branch information
davidfurey authored Mar 13, 2024
2 parents 23758f4 + 3de570e commit daefe72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play-v27/src/main/scala/com/gu/googleauth/model.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object JwtClaims {
}

case class UserInfo(gender: Option[String], sub: Option[String], name: String, given_name: String, family_name: String,
profile: Option[String], picture: Option[String], email: String, locale: String, hd: Option[String])
profile: Option[String], picture: Option[String], email: String, locale: Option[String], hd: Option[String])
object UserInfo {
implicit val userInfoReads: Reads[UserInfo] = Json.reads[UserInfo]
def fromJson(json:JsValue):UserInfo = json.as[UserInfo]
Expand Down

0 comments on commit daefe72

Please sign in to comment.