refactor: ♻️ Replace megalodon with @lysand-org/client

This commit is contained in:
Jesse Wierzbinski 2024-06-07 13:09:15 -10:00
parent 5c528e8d03
commit 0bd3237965
No known key found for this signature in database
41 changed files with 147 additions and 170 deletions

View file

@ -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: {