mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 15:34:15 +02:00
cleaning github token env vars
This commit is contained in:
@@ -85,7 +85,7 @@ class CategoriesDownloader:
|
||||
def get_categories(self) -> Dict[str, List[str]]:
|
||||
self.logger.info('Downloading Snap category definitions from {}'.format(self.URL_CATEGORIES_FILE))
|
||||
|
||||
res = self.http_client.get(self.URL_CATEGORIES_FILE, headers={'Authorization': 'token {}'.format(os.getenv('GITHUB_TOKEN'))})
|
||||
res = self.http_client.get(self.URL_CATEGORIES_FILE)
|
||||
|
||||
if res:
|
||||
categories_map = {}
|
||||
|
||||
Reference in New Issue
Block a user