File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ - (void)setDefaultZones:(NSArray <QNFixedZone *> *)zones {
92
92
- (QNZonesInfo *)getZonesInfoWithToken : (QNUpToken *_Nullable)token {
93
93
94
94
if (token == nil ) return nil ;
95
- NSString *cacheKey = [self makeCacheKey: nil akAndBucket: token.index ];
95
+ NSString *cacheKey = [self makeCacheKey: [QNConfiguration defaultConfiguration ] akAndBucket: token.index ];
96
96
QNZonesInfo *zonesInfo = nil ;
97
97
@synchronized (self) {
98
98
zonesInfo = self.zonesDic [cacheKey];
@@ -247,7 +247,7 @@ - (NSString *)makeCacheKey:(QNConfiguration *)config akAndBucket:(NSString *)akA
247
247
}
248
248
hosts = [NSString stringWithFormat: @" %@ :%@ " , hosts, host];
249
249
}
250
- NSString *cacheKey = [NSString stringWithFormat: @" %@ :%@ " , hosts, akAndBucket ];
250
+ NSString *cacheKey = [NSString stringWithFormat: @" %@ :%@ " , hosts, key ];
251
251
return [QNUrlSafeBase64 encodeString: cacheKey];
252
252
}
253
253
You can’t perform that action at this time.
0 commit comments