📝 Tabulated downloads per comic

This commit is contained in:
2022-07-28 08:59:30 -07:00
parent 602adf8775
commit f146dfdd0b
5 changed files with 60 additions and 55 deletions

View File

@@ -42,32 +42,7 @@ const AirDCPPSocketComponent = (): ReactElement => {
"queue_bundle_added",
async (data) => {
console.log("JEMEN:", data);
const { id, name, size, target, time_added, type } = data;
const downloadResultMetadata = await axios({
method: "POST",
url: `${LIBRARY_SERVICE_BASE_URI}/applyAirDCPPDownloadMetadata`,
headers: {
"Content-Type": "application/json; charset=utf-8",
},
data: {
bundleId: id,
name,
size,
target,
time_added,
type
},
});
// dispatch({
// type: AIRDCPP_RESULT_DOWNLOAD_INITIATED,
// downloadResult: downloadResult,
// bundleDBImportResult,
// });
// dispatch({
// type: IMS_COMIC_BOOK_DB_OBJECT_FETCHED,
// comicBookDetail: bundleDBImportResult.data,
// IMS_inProgress: false,
// });
}
);