🔧 Refactoring with a new unrar package

This commit is contained in:
2022-03-11 02:11:21 -08:00
parent d9870c7e97
commit cceb0da33f
7 changed files with 201 additions and 142 deletions

View File

@@ -53,7 +53,6 @@ import {
IExtractedComicBookCoverFile,
IExtractionOptions,
} from "threetwo-ui-typings";
import { unrarArchive } from "../utils/uncompression.utils";
const ObjectId = require("mongoose").Types.ObjectId;
import fsExtra from "fs-extra";
const through2 = require("through2");
@@ -578,10 +577,6 @@ export default class ImportService extends Service {
}>
) {
console.log(ctx.params);
return await unrarArchive(
ctx.params.filePath,
ctx.params.options
);
},
},
},