Cleanup tokens

This commit is contained in:
Gabriel Augendre 2021-02-07 08:38:37 +01:00
parent f540bc8441
commit e319adfd90
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
import requests, pprint import requests, pprint, os
SRHT_TOKEN = "***REMOVED***" SRHT_TOKEN = os.getenv("SRHT_TOKEN")
GITEA_TOKEN = "***REMOVED***" GITEA_TOKEN = os.getenv("GITEA_TOKEN")
def main(): def main():
gitea_headers = {"Authorization": f"token {GITEA_TOKEN}"} gitea_headers = {"Authorization": f"token {GITEA_TOKEN}"}

View file

@ -1,6 +1,6 @@
import requests, pprint import requests, pprint
GITEA_TOKEN = "***REMOVED***" GITEA_TOKEN = os.getenv("GITEA_TOKEN")
BASE_URL = "https://git.augendre.info/api/v1" BASE_URL = "https://git.augendre.info/api/v1"
def main(): def main():