repos / git-pr

a self-hosted git collaboration server
git clone https://github.com/picosh/git-pr.git

commit
aa429c8
parent
ae0a14c
author
Eric Bower
date
2024-05-31 22:50:07 -0400 EDT
chore: close -> closed
1 files changed,  +2, -2
M cli.go
M cli.go
+2, -2
 1@@ -324,7 +324,7 @@ Here's how it works:
 2 							if !isAdmin && !isContrib {
 3 								return fmt.Errorf("you are not authorized to change PR status")
 4 							}
 5-							err = pr.UpdatePatchRequest(prID, "close")
 6+							err = pr.UpdatePatchRequest(prID, "closed")
 7 							return err
 8 						},
 9 					},
10@@ -405,7 +405,7 @@ Here's how it works:
11 
12 							reviewTxt := ""
13 							if isReview {
14-								err = pr.UpdatePatchRequest(prID, "review")
15+								err = pr.UpdatePatchRequest(prID, "reviewed")
16 								if err != nil {
17 									return err
18 								}