🧹 Removed the useless getPageCount method
This commit is contained in:
@@ -21,7 +21,6 @@ import {
|
||||
} from "threetwo-ui-typings";
|
||||
import {
|
||||
extractCoverFromFile,
|
||||
getPageCountFromRarArchive,
|
||||
unrarArchive,
|
||||
} from "../utils/uncompression.utils";
|
||||
const ObjectId = require("mongoose").Types.ObjectId;
|
||||
@@ -370,13 +369,6 @@ export default class ImportService extends Service {
|
||||
return Promise.all(volumesMetadata);
|
||||
},
|
||||
},
|
||||
getPageCountForComicBook: {
|
||||
rest: "POST /getPageCountsForComicBook",
|
||||
params: {},
|
||||
async handler(ctx:Context<{filePath: string}>) {
|
||||
return await getPageCountFromRarArchive(ctx.params.filePath);
|
||||
}
|
||||
},
|
||||
unrarArchive: {
|
||||
rest: "POST /unrarArchive",
|
||||
params: {},
|
||||
|
||||
Reference in New Issue
Block a user