🔎 Support for downloads endpoint

This commit is contained in:
2022-07-24 22:20:03 -07:00
parent 13e420e39c
commit 3f37c43584
7 changed files with 49 additions and 35 deletions

View File

@@ -186,6 +186,9 @@ export default class ImportService extends Service {
wanted: boolean;
name?: string;
};
directconnect: {
downloads: [];
};
};
}>
) {
@@ -313,7 +316,7 @@ export default class ImportService extends Service {
comicObjectId,
{
$push: {
"acquisition.directconnect": {
"acquisition.directconnect.downloads": {
resultId: ctx.params.resultId,
bundleId: ctx.params.bundleId,
directoryIds:
@@ -513,7 +516,7 @@ export default class ImportService extends Service {
});
},
},
libraryStatistics: {
rest: "GET /libraryStatistics",
params: {},