Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,9 +19,6 @@ headers = {
|
|
19 |
"Accept": "application/json",
|
20 |
}
|
21 |
|
22 |
-
print(airtable_api_key)
|
23 |
-
print(base_id)
|
24 |
-
|
25 |
def log_login(username):
|
26 |
|
27 |
airtable_endpoint = f'https://api.airtable.com/v0/{base_id}/{user_log_table_name}'
|
@@ -62,12 +59,6 @@ def login_auth(username, password):
|
|
62 |
}
|
63 |
|
64 |
response = requests.get(airtable_endpoint, headers=headers, params=params)
|
65 |
-
|
66 |
-
print(headers)
|
67 |
-
print(params)
|
68 |
-
print(username)
|
69 |
-
print(password)
|
70 |
-
print(response)
|
71 |
|
72 |
if response.status_code == 200:
|
73 |
data = response.json()
|
|
|
19 |
"Accept": "application/json",
|
20 |
}
|
21 |
|
|
|
|
|
|
|
22 |
def log_login(username):
|
23 |
|
24 |
airtable_endpoint = f'https://api.airtable.com/v0/{base_id}/{user_log_table_name}'
|
|
|
59 |
}
|
60 |
|
61 |
response = requests.get(airtable_endpoint, headers=headers, params=params)
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
if response.status_code == 200:
|
64 |
data = response.json()
|