diff --git a/internal/source/gitea/gitea.go b/internal/source/gitea/gitea.go index 4900198..0bcbed7 100644 --- a/internal/source/gitea/gitea.go +++ b/internal/source/gitea/gitea.go @@ -612,7 +612,7 @@ func (g *Gitea) patchPullRequest(ctx context.Context, wBody, wTitle *bytes.Buffe g.logger.Info(ctx, fmt.Sprintf("marshal body: %s", buf)) req, err := http.NewRequestWithContext( ctx, - http.MethodPost, + http.MethodPatch, fmt.Sprintf("https://%s/api/v1/repos/%s/%s/pulls/%d", g.URL, g.Owner, g.Repository, indexPR), bytes.NewReader(buf), )