From 0802fd4a90c234cdbf0b7bd0eeb486b5c57e9dcf Mon Sep 17 00:00:00 2001 From: lleadbet Date: Mon, 8 Mar 2021 12:29:27 -0800 Subject: [PATCH] Fixing websub topic for subscriptions --- internal/events/types/subscribe/sub_event.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/events/types/subscribe/sub_event.go b/internal/events/types/subscribe/sub_event.go index cda91f57..6bb1555d 100644 --- a/internal/events/types/subscribe/sub_event.go +++ b/internal/events/types/subscribe/sub_event.go @@ -20,9 +20,9 @@ var triggerSupported = []string{"subscribe", "gift", "unsubscribe"} var triggerMapping = map[string]map[string]string{ models.TransportWebSub: { - "subscribe": "subscribe", - "unsubscribe": "subscribe", - "gift": "subscribe", + "subscribe": "subscriptions.subscribe", + "unsubscribe": "subscriptions.unsubscribe", + "gift": "subscriptions.subscribe", }, models.TransportEventSub: { "subscribe": "channel.subscribe",