se modifica loggin de username a rut del usuario

master
Francisco Sandoval 2024-02-24 21:50:33 -03:00
parent 23c1d28c3a
commit be694dfa1e
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import requests
def get_auth_token():
auth_url = f'{environ["TRANSPORTE_API"]}/auth/'
auth_data = {
"username": environ["TRANSPORTE_USER"],
"rut": environ["TRANSPORTE_USER"],
"password": environ["TRANSPORTE_PASS"]
}
response = requests.post(auth_url, json=auth_data)