Skip to content

Commit

Permalink
fix error (#22)
Browse files Browse the repository at this point in the history
* fix error
import failed: {"message":"Authentication failed: Clone: exit status 128 - remote: HTTP Basic: Access denied\nfatal: Authentication failed
  • Loading branch information
zhaoyansheng163 authored Jul 11, 2024
1 parent 39394a0 commit 4aea80f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ def _import_project_repo(gitea_api: pygitea, project: gitlab.v4.objects.Project)

import_response: requests.Response = gitea_api.post("/repos/migrate", json={
"auth_password": GITLAB_ADMIN_PASS,
"auth_token": GITLAB_TOKEN,
"auth_username": GITLAB_ADMIN_USER,
"clone_addr": clone_url,
"description": description,
Expand Down

0 comments on commit 4aea80f

Please sign in to comment.