Skip to content

Commit 2c541a7

Browse files
committed
Deployment Payload fields should be string.
1 parent be944ed commit 2c541a7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

github/payload.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,7 @@ type DeploymentPayload struct {
381381
Sha string `json:"sha"`
382382
Ref string `json:"ref"`
383383
Task string `json:"task"`
384-
Payload struct {
385-
} `json:"payload"`
384+
Payload string `json:"payload"`
386385
Environment string `json:"environment"`
387386
Description *string `json:"description"`
388387
Creator struct {
@@ -555,8 +554,7 @@ type DeploymentStatusPayload struct {
555554
Sha string `json:"sha"`
556555
Ref string `json:"ref"`
557556
Task string `json:"task"`
558-
Payload struct {
559-
} `json:"payload"`
557+
Payload string `json:"payload"`
560558
Environment string `json:"environment"`
561559
Description *string `json:"description"`
562560
Creator struct {

0 commit comments

Comments
 (0)