We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
channelById()
1 parent c607c11 commit 18b9e58Copy full SHA for 18b9e58
1 file changed
app/Repositories/TwitchApiRepository.php
@@ -89,7 +89,8 @@ public function channelById($id = '')
89
throw new TwitchFormatException('String or int expected, got: ' . gettype($id));
90
}
91
92
- return $this->channelsByIds([$id]);
+ $channels = $this->channelsByIds([$id]);
93
+ return $channels[0];
94
95
96
/**
0 commit comments