PR: fix type errors

This commit is contained in:
2025-08-25 18:18:00 +02:00
parent 518845b3d8
commit 7e59e527d8
2 changed files with 2 additions and 16 deletions

View File

@@ -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)
}
}