mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
refactor: ♻️ Replace megalodon with @lysand-org/client
This commit is contained in:
parent
5c528e8d03
commit
0bd3237965
41 changed files with 147 additions and 170 deletions
|
|
@ -47,7 +47,7 @@ const { width } = useWindowSize();
|
|||
|
||||
const { n, o_i_d_c } = useMagicKeys();
|
||||
const tokenData = useTokenData();
|
||||
const client = useMegalodon(tokenData);
|
||||
const client = useClient(tokenData);
|
||||
const providers = useSSOConfig();
|
||||
|
||||
watchEffect(async () => {
|
||||
|
|
@ -71,7 +71,7 @@ watchEffect(async () => {
|
|||
}
|
||||
|
||||
const response = await fetch(
|
||||
new URL("/api/v1/sso", client.value?.baseUrl),
|
||||
new URL("/api/v1/sso", client.value?.url),
|
||||
{
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue