Mistaken text.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x169D8095d5d215F45C4C95FC1dc8590B529dCD4b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (MKNetworkOperation*) updateUser: (MDUser*) user | |
avatar: (UIImage*) avatar | |
onCompletion: (DictResponseBlock) completionBlock | |
onError: (MKNKErrorBlock) errorBlock | |
{ | |
MKNetworkOperation *op = [self operationWithPath:[NSString stringWithFormat:@"users/%@/avatar", user.uid] | |
params:nil | |
httpMethod:@"POST"]; | |
// [op addData:UIImagePNGRepresentation(user.avatar) forKey:@"avatar" mimeType:@"image/png"]; |