We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d032f5 commit 78e06f0Copy full SHA for 78e06f0
src/services/config.service.ts
@@ -46,7 +46,7 @@ export class ConfigService {
46
throw new UserError('Invalid Dr. Git API key', Severity.ERROR);
47
}
48
49
- return apiKey;
+ return this.cacheService.set(apiKeyCacheKey, apiKey, cacheConfig.ttl);
50
// eslint-disable-next-line @typescript-eslint/no-explicit-any
51
} catch (error: any) {
52
// Octokit throws RequestError if fails, but we need to check the status only because the error is not an instance of RequestError
0 commit comments