diff --git a/eventsub-common/src/main/java/com/github/twitch4j/eventsub/domain/GoalType.java b/eventsub-common/src/main/java/com/github/twitch4j/eventsub/domain/GoalType.java index 34c95b198..5981ace1c 100644 --- a/eventsub-common/src/main/java/com/github/twitch4j/eventsub/domain/GoalType.java +++ b/eventsub-common/src/main/java/com/github/twitch4j/eventsub/domain/GoalType.java @@ -10,21 +10,21 @@ public enum GoalType { /** * The goal is to increase followers. */ - @JsonAlias("follower") + @JsonAlias({ "follower", "follow" }) FOLLOWERS, /** * The goal is to increase subscriptions. * This type shows the net increase or decrease in subscriptions. */ - @JsonAlias("subscription") + @JsonAlias({ "subscription", "sub" }) SUBSCRIPTIONS, /** * The goal is to increase subscriptions. * This type shows only the net increase in subscriptions (it does not account for users that stopped subscribing since the goal's inception). */ - @JsonAlias("new_subscription") + @JsonAlias({ "new_subscription", "new_sub" }) NEW_SUBSCRIPTIONS, /**