diff --git a/playbooks/roles/gitea-git-repos/library/gitea_create_repos.py b/playbooks/roles/gitea-git-repos/library/gitea_create_repos.py index fd5b697452..d0f099e9c2 100755 --- a/playbooks/roles/gitea-git-repos/library/gitea_create_repos.py +++ b/playbooks/roles/gitea-git-repos/library/gitea_create_repos.py @@ -138,7 +138,7 @@ class Gitea(object): 'readme': 'Default', } resp = self.post( - '/api/v1/org/{org}/repos'.format(org=org), + '/api/v1/orgs/{org}/repos'.format(org=org), json=repo_properties) self.log("Created repo:", project['project'])