Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -354,7 +354,7 @@ def login():
|
|
354 |
############### GET INFO ABOUT USER ###############################################
|
355 |
url = f"https://api.github.com/repos/omarnuwrar/{repository_name}/contents/user.json"
|
356 |
headers = {
|
357 |
-
"Authorization": f"token
|
358 |
"Accept": "application/vnd.github.v3+json"
|
359 |
}
|
360 |
response = requests.get(url, headers=headers)
|
|
|
354 |
############### GET INFO ABOUT USER ###############################################
|
355 |
url = f"https://api.github.com/repos/omarnuwrar/{repository_name}/contents/user.json"
|
356 |
headers = {
|
357 |
+
"Authorization": f"token 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",
|
358 |
"Accept": "application/vnd.github.v3+json"
|
359 |
}
|
360 |
response = requests.get(url, headers=headers)
|