Skip to content

Commit

Permalink
Merge pull request #60 from mnsinri/dev
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
mnsinri authored Sep 5, 2024
2 parents bb04c6d + 0ea687a commit 007e37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/src/youtube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const getChannels = async (apiKey: string, channelIds: string[]) => {

return (
res.data.items?.map(
(item): ChannelInfo => ({
(item: youtube_v3.Schema$Channel): ChannelInfo => ({
id: item.id ?? "",
name: item.snippet?.title ?? "",
thumbnail: item.snippet?.thumbnails?.default?.url ?? "",
Expand Down

0 comments on commit 007e37a

Please sign in to comment.