📝 Tabulated downloads per comic
This commit is contained in:
@@ -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,
|
||||
// });
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user