- Modified User mapping

This commit is contained in:
Giuseppe Nucifora 2016-03-03 10:48:47 +01:00
parent ded2cb0cf7
commit c9d8a47f80

View File

@ -357,23 +357,23 @@ static bool isFirstAccess = YES;
NSDictionary *mapping = @{
@"userId":@"uuid",
@"firstName":@"first_name",
@"lastName":@"last_name",
@"profileImageUrl":@"profile_image",
@"firstName":@"firstName",
@"lastName":@"lastName",
@"profileImageUrl":@"profileImage",
@"sex":@"sex",
@"birthDate":@"birth_year",
@"birthDate":@"birthYear",
@"phone":@"phone",
@"password":@{@"key":@"password",@"type":@"PNObjcPassword"},
@"hasAcceptedPrivacy":@"has_accepted_privacy",
@"hasAcceptedNewsletter":@"has_accepted_newsletter",
@"hasVerifiedEmail":@"has_verified_email",
@"hasVerifiedPhone":@"has_verified_phone",
@"emailVerifiedDate":@"email_verified_date",
@"hasAcceptedPrivacy":@"hasAcceptedPrivacy",
@"hasAcceptedNewsletter":@"hasAcceptedNewsletter",
@"hasVerifiedEmail":@"hasVerifiedEmail",
@"hasVerifiedPhone":@"hasVerifiedPhone",
@"emailVerifiedDate":@"emailVerifiedDate",
@"email":@"email",
@"username":@"username",
@"publicProfile":@"publicProfile",
@"loginCount":@"login_count",
@"facebookId":@"facebook_id",
@"loginCount":@"loginCount",
@"facebookId":@"facebookId",
@"facebookAccessToken":@"facebookAccessToken",
@"isFacebookUser":@"isFacebookUser",
@"registeredAt":@"registeredAt",