Skip to content

Commit

Permalink
fix: wrong channel url in findChannelById endpoint response
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Oct 7, 2022
1 parent 41eadbd commit 40a76b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/services/youtube/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const queries = {
transformResponse: (response: Response): FindChannelByIdResponse => ({
items: response.items.map((item) => ({
title: item.snippet.title,
url: `https://www.youtube.com/channel/${item.snippet.channelId}/videos`,
url: `https://www.youtube.com/channel/${item.id}/videos`,
description: item.snippet.description,
thumbnail: item.snippet.thumbnails.medium.url,
id: item.id,
Expand Down

0 comments on commit 40a76b7

Please sign in to comment.