refactor: update composable names
This commit is contained in:
parent
787a55bea7
commit
4fc6e405e0
9 changed files with 46 additions and 34 deletions
|
@ -5,7 +5,8 @@ export default defineNuxtPlugin((nuxt) => {
|
|||
|
||||
const masto = login({
|
||||
url: `https://${server.value}`,
|
||||
accessToken: token.value,
|
||||
accessToken: token.value || undefined,
|
||||
})
|
||||
nuxt.vueApp.provide('masto', masto)
|
||||
|
||||
nuxt.$masto = masto
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue