fixed html elements properties

This commit is contained in:
2023-07-01 02:14:24 +05:00
parent c6a86f8084
commit 7d8b0ec3cc
6 changed files with 19 additions and 14 deletions

View File

@ -280,7 +280,7 @@ app.post("/new_obj", (req,res) => {
res.send({out:"bad",err:"name"});
}
else if (!include){
db.nr("objects","`name`,`img`,`height`,`width`,`description`",`'${inp["name"]}','${inp["img"]}','1','1','desc'`);
db.nr("objects","`name`,`img`,`height`,`width`,`description`",`'${inp["name"]}','${inp["img"]}','1','1','${inp["desc"]}'`);
res.send({out:"good"});
}
})