Update endpoints

This commit is contained in:
2025-10-14 10:34:28 +02:00
parent f88f2698ec
commit f94bc3676c
4 changed files with 7 additions and 7 deletions

View File

@@ -31,8 +31,8 @@ const { data: mangaConnector } = await useApi('/v2/MangaConnector/{MangaConnecto
const loading = ref(false);
const onDownloadClick = async () => {
loading.value = true;
await useApi('/v2/Manga/{MangaId}/SetAsDownloadFrom/{MangaConnectorName}/{IsRequested}', {
method: 'POST',
await useApi('/v2/Manga/{MangaId}/DownloadFrom/{MangaConnectorName}/{IsRequested}', {
method: 'PATCH',
path: { MangaId: mangaId, MangaConnectorName: mangaConnectorName, IsRequested: true },
});
loading.value = false;