feat: upgrade to masto.js v6 (#2530)
This commit is contained in:
parent
d8ea685803
commit
6c5bb83ac3
62 changed files with 262 additions and 263 deletions
|
@ -20,9 +20,9 @@ async function toggleFollowTag() {
|
|||
|
||||
try {
|
||||
if (previousFollowingState)
|
||||
await client.v1.tags.unfollow(tag.name)
|
||||
await client.v1.tags.$select(tag.name).unfollow()
|
||||
else
|
||||
await client.v1.tags.follow(tag.name)
|
||||
await client.v1.tags.$select(tag.name).follow()
|
||||
|
||||
emit('change')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue