Merge "gitea-git-repos: update deprecated API path"

This commit is contained in:
Zuul 2021-03-16 04:00:30 +00:00 committed by Gerrit Code Review
commit 70079c5771

View File

@ -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'])