iOS fix compile problem
This commit is contained in:
parent
408868e8d5
commit
ca6e0d5c39
@ -74,8 +74,8 @@ - (void)getItem:(NSDictionary *)argument withPromise:(DoricPromise *)promise {
|
|||||||
NSString *zone = argument[@"zone"];
|
NSString *zone = argument[@"zone"];
|
||||||
NSString *key = argument[@"key"];
|
NSString *key = argument[@"key"];
|
||||||
YYDiskCache *diskCache = [self getDiskCache:zone];
|
YYDiskCache *diskCache = [self getDiskCache:zone];
|
||||||
[diskCache objectForKey:key withBlock:^(NSString *key, NSString *value) {
|
[diskCache objectForKey:key withBlock:^(NSString *_Nonnull key, id <NSCoding> _Nullable object) {
|
||||||
[promise resolve:value];
|
[promise resolve:object];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user