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

@@ -50,8 +50,8 @@ const { data: manga } = await useApi('/v2/Manga/{MangaId}', {
const libraryId = ref(manga.value?.fileLibraryId);
const setRequestedFrom = async (MangaConnectorName: string, IsRequested: boolean) => {
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: IsRequested },
});
await refreshNuxtData(FetchKeys.Manga.Id(mangaId));