mirror of
https://github.com/kevinveenbirkenbach/github-to-gitea-mirror.git
synced 2026-07-21 17:44:17 +00:00
autoformat
This commit is contained in:
2
main.py
2
main.py
@@ -42,7 +42,7 @@ for name, url in to_mirror.items():
|
||||
"repo_name": name,
|
||||
"uid": gitea_user_id
|
||||
}
|
||||
response = requests.post(f"https://git.veen.world/api/v1/repos/migrate", headers=HEADERS, json=data)
|
||||
response = requests.post("https://git.veen.world/api/v1/repos/migrate", headers=HEADERS, json=data)
|
||||
if response.status_code == 201:
|
||||
print(f"{name} was successfully mirrored.")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user