diff --git a/models/Odmdb.js b/models/Odmdb.js index 4753bf2..a3d6235 100644 --- a/models/Odmdb.js +++ b/models/Odmdb.js @@ -672,6 +672,7 @@ Odmdb.cud = (objectPathname, crud, itm, role, runindex = true) => { //Manage base64 case image to convert ans store in webp if (k.includes("imgbase64_") && itmtostore[k] != "") { fs.ensureDirSync(`${objectPathname}/img/`); + console.log("check this for k:",k," itmtostore[k]:",itmtostore[k]) const imgb64 = itmtostore[k].replace( /^data:image\/(png|png|gif|bmp|jpg|jpeg);base64,/, ""