Cleanup tokens
This commit is contained in:
parent
f540bc8441
commit
e319adfd90
2 changed files with 4 additions and 4 deletions
|
@ -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}"}
|
||||||
|
|
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue