chore: strengthen backend eslint profile
This commit is contained in:
@@ -21,6 +21,7 @@ export function tbankSourceNeedsRefresh(
|
||||
return (
|
||||
force ||
|
||||
!fetchedAt ||
|
||||
// eslint-disable-next-line security/detect-object-injection -- The key is a member of the closed TbankSource union.
|
||||
now.valueOf() - fetchedAt.valueOf() >= tbankSourceTtlMs[source]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user