Skip to content

Commit 5bed7d1

Browse files
csharpfritzmozts2005
authored andcommitted
Fixed hosted services so they run in the background, added PubSubAuthToken configuration option
1 parent 8bba8f3 commit 5bed7d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Fritz.Twitch/PubSub/Proxy.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,10 @@ private void HandleMessage(string receivedMessage) {
141141
private async Task StartListening(IEnumerable<TwitchTopic> topics) {
142142
_Socket = new ClientWebSocket();
143143

144-
var message = new PubSubListen {
145-
data = new PubSubListen.PubSubListenData {
144+
var message = new PubSubListen
145+
{
146+
data = new PubSubListen.PubSubListenData
147+
{
146148
auth_token = _Configuration.PubSubAuthToken,
147149
topics = topics.Select(t => t.TopicString).ToArray()
148150
}

0 commit comments

Comments
 (0)