PR: fix type errors
This commit is contained in:
@@ -152,12 +152,7 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
p := common.PullRequestWebhookEvent{
|
||||
Action: "opened",
|
||||
Number: num,
|
||||
Pull_Request: common.PullRequestFromModel(pr),
|
||||
}
|
||||
if err = ProcesPullRequest(&p, configs); err != nil {
|
||||
if err = ProcesPullRequest(pr, configs); err != nil {
|
||||
common.LogError("processor returned error", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user