更新版本号至 0.0.5,并修正创建仓库的 URL 结构

This commit is contained in:
2026-02-19 20:52:28 +08:00
parent ff93296d34
commit ad85d8fdbe
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ export class GiteaRepo extends GiteaCore {
if (parts.length === 2) {
const [orgOrUser, repoName] = parts;
const url = this.makeUrl(`/${orgOrUser}/repos`);
const url = this.makeUrl(`/orgs/${orgOrUser}/repos`);
return this.request({ url, method: 'POST', data: { ...data, name: repoName } });
}