mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-11 21:29:50 +02:00
Use nuxtopenfetch
This commit is contained in:
@@ -36,7 +36,7 @@ export interface ChaptersListProps {
|
||||
}
|
||||
const props = defineProps<ChaptersListProps>();
|
||||
|
||||
const { data: chapters } = await useApiData('/v2/Manga/{MangaId}/Chapters', {
|
||||
const { data: chapters } = await useApi('/v2/Manga/{MangaId}/Chapters', {
|
||||
path: { MangaId: props.mangaId },
|
||||
key: FetchKeys.Chapters.All,
|
||||
});
|
||||
|
Reference in New Issue
Block a user