Skip to content

Commit

Permalink
fix typo in creationDate property in response (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongaare authored and ivpusic committed Jan 17, 2018
1 parent 025cfe5 commit 6bbfc64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/ImageCropPicker.m
Expand Up @@ -439,7 +439,7 @@ - (NSDictionary*) createAttachmentResponse:(NSString*)filePath withExif:(NSDicti
@"data": (data) ? data : [NSNull null],
@"exif": (exif) ? exif : [NSNull null],
@"cropRect": CGRectIsNull(cropRect) ? [NSNull null] : [ImageCropPicker cgRectToDictionary:cropRect],
@"creationDate:": (creationDate) ? [NSString stringWithFormat:@"%.0f", [creationDate timeIntervalSince1970]] : [NSNull null],
@"creationDate": (creationDate) ? [NSString stringWithFormat:@"%.0f", [creationDate timeIntervalSince1970]] : [NSNull null],
@"modificationDate": (modificationDate) ? [NSString stringWithFormat:@"%.0f", [modificationDate timeIntervalSince1970]] : [NSNull null],
};
}
Expand Down Expand Up @@ -864,4 +864,4 @@ + (NSDictionary *)cgRectToDictionary:(CGRect)rect {
};
}

@end
@end

0 comments on commit 6bbfc64

Please sign in to comment.