feat: some minor refactor

This commit is contained in:
Eduardo Chiarotti
2024-08-20 07:25:28 -03:00
parent f0e28cd88a
commit bec9a4941c
2 changed files with 87 additions and 86 deletions

View File

@@ -1,3 +1,4 @@
import os
import re
import subprocess
@@ -73,3 +74,9 @@ def fetch_and_json_env_file(env_file_path: str = ".env") -> dict:
print(f"Error reading the .env file: {e}")
return {}
def get_auth_token():
return os.environ.get(
"TOKEN", "958303356b9a21884a83ddb6e774cc06c6f1dd0e04222fbc5a4e8a9ae02c140e"
)