Closed Minitour closed 6 years ago
@masterFoad are you using Data from java.util or sql? (in the db I see it as numbers only)
in the meeting with shalom we agreed that joinDate doesn't need to be long (we're not interested in the exact second the user joined), Date should be in the format YYYY-MM-DD
@Minitour Can you use a parser please?
makeRequest: http://zofenweb-env.hhaqjxq9wa.us-east-2.elasticbeanstalk.com:80/LogIn
{"email":"ai","password":"OyACF5rx"}
onResponse:
{"code":402,"message":"wrong password","user":{"experience":"aaaaaaaaaaaaaaaa1","role":"assasasas1","company":2,"volunteering":"aaaaaaaaaaaaaaa","workHistory":"aaaaa","id":212,"firstName":"Haim","lastName":"Alexandrovitch","email":"ai","phoneNumber":"456789","gender":1,"address":"555555","note":"aaaaaaaaaaaaaaaaaaaaaaa","active":true,"type":"MENTOR","areaId":2,"area":"Tsafon","cityId":2,"city":"Haifa","joinDate":"Nov 8, 2017"}}
Error code is 402 but user is still returned? @masterFoad
@Minitour Fixed.
please confirm and close
Invalid response:
Where
joinDate
Expected: Long Got: String