iOS fix compile problem

This commit is contained in:
pengfei.zhou 2020-08-07 10:53:07 +08:00 committed by osborn
parent 408868e8d5
commit ca6e0d5c39

View File

@ -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];
}]; }];
} }