mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-27 02:04:39 +10:00
feat: refactor news and migrate rest of useFetch to $dropFetch
This commit is contained in:
@@ -106,6 +106,5 @@ definePageMeta({
|
||||
layout: "admin",
|
||||
});
|
||||
|
||||
const headers = useRequestHeaders(["cookie"]);
|
||||
const { data: users } = await useFetch("/api/v1/admin/users", { headers });
|
||||
const users = await $dropFetch("/api/v1/admin/users");
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user