Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nekator committed Sep 28, 2021
1 parent ca0f320 commit d60cf96
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "can_be_merged",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "can_be_merged",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "unchecked",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "unchecked",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": "78a76ee6b4992a6baf64c59fc4c44c7323d60438",
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "can_be_merged",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "can_be_merged",
"merge_user_id": null,
Expand Down
4 changes: 2 additions & 2 deletions scm/driver/gitlab/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ type (
MergeCommitSha string `json:"merge_commit_sha"`
MergeError interface{} `json:"merge_error"`
MergeParams struct {
ForceRemoveSourceBranch string `json:"force_remove_source_branch"`
ForceRemoveSourceBranch bool `json:"force_remove_source_branch"`
} `json:"merge_params"`
MergeStatus string `json:"merge_status"`
MergeUserID interface{} `json:"merge_user_id"`
Expand Down Expand Up @@ -814,7 +814,7 @@ type (
MergeCommitSha string `json:"merge_commit_sha"`
MergeError interface{} `json:"merge_error"`
MergeParams struct {
ForceRemoveSourceBranch string `json:"force_remove_source_branch"`
ForceRemoveSourceBranch bool `json:"force_remove_source_branch"`
} `json:"merge_params"`
MergeStatus string `json:"merge_status"`
MergeUserID interface{} `json:"merge_user_id"`
Expand Down

0 comments on commit d60cf96

Please sign in to comment.