Skip to content

Commit

Permalink
Serialise profile when signup
Browse files Browse the repository at this point in the history
  • Loading branch information
rickmak committed Jan 29, 2018
2 parents 4e91850 + 7ec5e4f commit 44a9c40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Pod/Classes/SKYSignupUserOperation.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
//

#import "SKYSignupUserOperation.h"
#import "SKYDataSerialization.h"
#import "SKYOperation_Private.h"
#import "SKYRecordDeserializer.h"
#import "SKYRequest.h"
Expand Down Expand Up @@ -95,7 +96,7 @@ - (void)prepareForRequest
payload[@"password"] = self.password;
}
if (self.profile) {
payload[@"profile"] = self.profile;
payload[@"profile"] = [SKYDataSerialization serializeObject:self.profile];
}

self.request = [[SKYRequest alloc] initWithAction:@"auth:signup" payload:payload];
Expand Down

0 comments on commit 44a9c40

Please sign in to comment.