From 9aa0a6c576376b94816b965798261f46fc883a640e9e5046041b92b81ccdca75 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 10 Jul 2024 10:27:00 +0200 Subject: [PATCH] .ush --- pr-review/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr-review/main.go b/pr-review/main.go index a1b338e..d3d1648 100644 --- a/pr-review/main.go +++ b/pr-review/main.go @@ -57,7 +57,7 @@ PullRequest: %s#%d`, req.Repository.Name, GitAuthor, req.Repository.Name, req.Pu } func processPullRequest(h *common.RequestHandler) error { - req := h.Data.(common.PullRequestAction) + req := h.Data.(*common.PullRequestAction) switch req.Action { case "created":