We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bc5abb commit f6e402eCopy full SHA for f6e402e
1 file changed
src/renderer/utils/api/octokit.ts
@@ -38,9 +38,8 @@ export function clearOctokitClientCache(): void {
38
* @param account The account to clear the cache for
39
*/
40
export function clearOctokitClientCacheForAccount(account: Account): void {
41
- for (const type of ['rest', 'graphql'] as APIClientType[]) {
42
- octokitClientCache.delete(getClientCacheKey(account, type));
43
- }
+ octokitClientCache.delete(getClientCacheKey(account, 'rest'));
+ octokitClientCache.delete(getClientCacheKey(account, 'graphql'));
44
}
45
46
/**
0 commit comments