- commit
- 67d8cd1
- parent
- 8bfa555
- author
- Eric Bower
- date
- 2024-07-19 12:40:22 -0400 EDT
fix(cli): set correct patchset id when creating patch
1 files changed,
+1,
-1
M
pr.go
M
pr.go
+1,
-1
1@@ -453,7 +453,7 @@ func (cmd PrCmd) SubmitPatchRequest(repoID string, userID int64, patchset io.Rea
2
3 for _, patch := range patches {
4 patch.UserID = userID
5- patch.PatchsetID = prID
6+ patch.PatchsetID = patchsetID
7 _, err = cmd.createPatch(tx, patch)
8 if err != nil {
9 return nil, err