Skip to content

Commit 5818507

Browse files
committed
close #73 err when establishing build environment
1 parent 7bef4a7 commit 5818507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func requestStatus(res *http.Response) error {
306306
return nil
307307
case http.StatusOK:
308308
return nil
309-
case http.StatusUnprocessableEntity:
309+
case 422: //StatusUnprocessableEntity
310310
//For POST requests
311311
return errors.New("git-phlow token already exists")
312312
case http.StatusNotFound:

0 commit comments

Comments
 (0)