mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[skip ci] bearer not basic
This commit is contained in:
@@ -19,7 +19,7 @@ export class TrackerService implements ITrackerService {
|
||||
const headers = {};
|
||||
|
||||
if (configurationService.trackerConfig.GITHUB_PAT) {
|
||||
headers['Authorization'] = `Basic ${configurationService.trackerConfig.GITHUB_PAT}`;
|
||||
headers['Authorization'] = `Bearer ${configurationService.trackerConfig.GITHUB_PAT}`;
|
||||
}
|
||||
|
||||
const response: AxiosResponse<string> = await axios.get(configurationService.trackerConfig.TRACKERS_URL, { headers });
|
||||
|
||||
Reference in New Issue
Block a user