Skip to content

Commit

Permalink
fix: wrong total value in getChannelVideos endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Nov 7, 2022
1 parent cad2c85 commit 51b2c6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/services/youtube/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ const extendedQueries = {
// Recalculate total & count
[total, count] = recalculateTotalAndCount(
videosData.items,
total,
count,
total,
maxResults,
);
}
Expand All @@ -355,8 +355,8 @@ const extendedQueries = {
// Recalculate total & count
[total, count] = recalculateTotalAndCount(
videosData.items,
total,
count,
total,
maxResults,
);
}
Expand Down

0 comments on commit 51b2c6b

Please sign in to comment.