diff --git a/gitea-events-rabbitmq-publisher/main.go b/gitea-events-rabbitmq-publisher/main.go index ba3c569..70375cd 100644 --- a/gitea-events-rabbitmq-publisher/main.go +++ b/gitea-events-rabbitmq-publisher/main.go @@ -116,7 +116,7 @@ func parseRequestJSON(reqType string, data []byte) (org *common.Organization, ex return } switch issue.Action { - case "assign", "unassign": + case "assigned", "unassigned": break default: err = fmt.Errorf("Unknown Issue Assign webhook action type: %s", issue.Action)