mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-22 20:51:12 +10:00
feat: user page & $dropFetch util
This commit is contained in:
@ -175,7 +175,7 @@ const error = ref();
|
||||
const authToken = ref<string | undefined>();
|
||||
|
||||
async function authorize() {
|
||||
const { redirect, token } = await $fetch("/api/v1/client/auth/callback", {
|
||||
const { redirect, token } = await $dropFetch("/api/v1/client/auth/callback", {
|
||||
method: "POST",
|
||||
body: { id: clientId },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user