made nickname optional

This commit is contained in:
Tony Tam 2014-06-11 06:11:31 -07:00
parent 06eb52118e
commit db8bda087b

View File

@ -201,7 +201,7 @@ object LegacySerializers {
""
}),
(json \ "nickname").extractOrElse({
!!(json, OPERATION, "nickname", "missing required field", ERROR)
!!(json, OPERATION, "nickname", "missing required field", WARNING)
""
}),
(json \ "position").extractOrElse(0),