mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-01-31 15:37:09 +01:00
feat: user page & $dropFetch util
This commit is contained in:
@@ -12,5 +12,5 @@ export const updateUser = async () => {
|
||||
if (user.value === null) return;
|
||||
|
||||
// SSR calls have to be after uses
|
||||
user.value = await $fetch<User | null>("/api/v1/user", { headers });
|
||||
user.value = await $dropFetch<User | null>("/api/v1/user", { headers });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user