Skip to content

Commit 44312ed

Browse files
committed
Fix test for it_should_send_a_shoutout
1 parent bea67c8 commit 44312ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/ChatApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function sendShoutout(string $bearer, string $fromBroadcasterId, string $
190190

191191
$queryParamsMap[] = ['key' => 'from_broadcaster_id', 'value' => $fromBroadcasterId];
192192

193-
$bodyParamsMap[] = ['key' => 'to_broadcaster_id', 'value' => $toBroadcasterId];
193+
$queryParamsMap[] = ['key' => 'to_broadcaster_id', 'value' => $toBroadcasterId];
194194

195195
$queryParamsMap[] = ['key' => 'moderator_id', 'value' => $moderatorId];
196196

0 commit comments

Comments
 (0)