Skip to content

Commit

Permalink
Merge pull request #33 from pinterest/data_copy
Browse files Browse the repository at this point in the history
the copy was supposed to be on the data not response
  • Loading branch information
woshimaliang authored Apr 4, 2024
2 parents 285084c + 126f628 commit 45452c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PINFuture/Classes/Categories/PINNSURLSessionDataTaskResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ NS_ASSUME_NONNULL_BEGIN

@interface PINNSURLSessionDataTaskResult : NSObject

@property (nonatomic, readonly) NSData * _Nullable data;
@property (nonatomic, copy, readonly) NSURLResponse * _Nullable response;
@property (nonatomic, copy, readonly) NSData * _Nullable data;
@property (nonatomic, readonly) NSURLResponse * _Nullable response;
@property (nonatomic, readonly) NSError * _Nullable error;

+ (instancetype)resultWithData:(NSData * _Nullable)data
Expand Down

0 comments on commit 45452c8

Please sign in to comment.