se modifica loggin de username a rut del usuario
parent
23c1d28c3a
commit
be694dfa1e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue