Skip to content

Commit fa5a4cb

Browse files
bug fix
1 parent 41f7910 commit fa5a4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/GithubClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class GithubClient implements GithubApi {
3636
const query = new URLSearchParams(params);
3737

3838
const baseUrl: string =
39-
this.configApi.get('gh-plugin.url') || 'https://api.github.com/';
39+
this.configApi.getOptionalString('gh-plugin.url') || 'https://api.github.com/';
4040

4141
const url = new URL(
4242
`${path}?${query.toString().replaceAll('%2B', '+')}`,

0 commit comments

Comments
 (0)