Skip to content

Commit ca95f15

Browse files
stevikiradazzouz
andauthored
Update ios/RCTPSPDFKit/Converters/RCTConvert+PSPDFAnnotation.m
Co-Authored-By: radazzouz <[email protected]>
1 parent a75487e commit ca95f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RCTPSPDFKit/Converters/RCTConvert+PSPDFAnnotation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ @implementation RCTConvert (PSPDFAnnotation)
1414
+ (NSArray <NSDictionary *> *)instantJSONFromAnnotations:(NSArray <PSPDFAnnotation *> *) annotations {
1515
NSMutableArray <NSDictionary *> *annotationsJSON = [NSMutableArray new];
1616
for (PSPDFAnnotation *annotation in annotations) {
17-
NSDictionary <NSString *, NSString *> *uuidDict = @{@"uuid" : [annotation valueForKey:@"uuid"]};
17+
NSDictionary <NSString *, NSString *> *uuidDict = @{@"uuid" : annotation.uuid};
1818
NSData *annotationData = [annotation generateInstantJSONWithError:NULL];
1919
if (annotationData) {
2020
NSMutableDictionary *annotationDictionary = [[NSJSONSerialization JSONObjectWithData:annotationData options:kNilOptions error:NULL] mutableCopy];

0 commit comments

Comments
 (0)