📚 Added a library with a masonry grid
This commit is contained in:
@@ -5,14 +5,14 @@ import axios from "axios";
|
||||
router.route("/getComicCovers").post(async (req: Request, res: Response) => {
|
||||
typeof req.body === "object" ? req.body : {};
|
||||
await axios.request({
|
||||
url: "http://localhost:3000/api/import/importComicsToDB",
|
||||
url: "http://localhost:3000/api/import/processAndImportToDB",
|
||||
method: "POST",
|
||||
data: {
|
||||
extractionOptions: req.body.extractionOptions,
|
||||
walkedFolders: req.body.walkedFolders,
|
||||
},
|
||||
});
|
||||
res.send({ po: "jo" });
|
||||
res.send({ message: "Scan and import initiated." });
|
||||
});
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user