fix: fetch for followed tags needs authorized session (#3277)
This commit is contained in:
parent
ec594410e4
commit
81675930eb
5 changed files with 20 additions and 5 deletions
|
@ -7,7 +7,10 @@ function reorderAndFilter(items: mastodon.v1.Status[]) {
|
|||
return reorderedTimeline(items, 'public')
|
||||
}
|
||||
|
||||
const followedTags = (await useMasto().client.value.v1.followedTags.list({ limit: 0 }))
|
||||
let followedTags: mastodon.v1.Tag[] | undefined
|
||||
if (currentUser.value !== undefined) {
|
||||
followedTags = (await useMasto().client.value.v1.followedTags.list({ limit: 0 }))
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue