Skip to content

Commit

Permalink
fix hashtag page not using invidious api (#5794)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkyProgrammer authored Oct 5, 2024
1 parent 9150fa2 commit fc71293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/helpers/api/invidious.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export function filterInvidiousFormats(formats) {
})
}

export async function getHashtagInvidious(hashtag, page) {
export async function getHashtagInvidious(hashtag, page = 1) {
const payload = {
resource: 'hashtag',
id: hashtag,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Hashtag/Hashtag.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default defineComponent({

getHashtag: async function() {
const hashtag = decodeURIComponent(this.$route.params.hashtag)
if (this.backendFallback || this.backendPreference === 'local') {
if (this.backendPreference === 'local') {
await this.getLocalHashtag(hashtag)
} else {
await this.getInvidiousHashtag(hashtag)
Expand Down

0 comments on commit fc71293

Please sign in to comment.