forked from Yara724/api
urls dynamic integration
This commit is contained in:
@@ -71,6 +71,7 @@ export class FanavaranClientConfigService implements OnModuleInit {
|
||||
previousFingerprints.set(
|
||||
key,
|
||||
FanavaranAuthService.authFingerprint(
|
||||
key,
|
||||
getFanavaranClientProfile(key).auth,
|
||||
),
|
||||
);
|
||||
@@ -110,7 +111,10 @@ export class FanavaranClientConfigService implements OnModuleInit {
|
||||
setFanavaranClientProfilesCache(cache);
|
||||
|
||||
for (const key of FANAVARAN_CLIENT_KEYS) {
|
||||
const next = FanavaranAuthService.authFingerprint(cache[key]!.auth);
|
||||
const next = FanavaranAuthService.authFingerprint(
|
||||
key,
|
||||
cache[key]!.auth,
|
||||
);
|
||||
const prev = previousFingerprints.get(key);
|
||||
if (prev && prev !== next) {
|
||||
this.logger.warn(
|
||||
|
||||
Reference in New Issue
Block a user