correzione numseen, numfav, ...: ora li ho aggiunti alle tabelle...
This commit is contained in:
@@ -428,6 +428,7 @@ router.post('/settable', authenticate, async (req, res) => {
|
||||
|
||||
return await myPromise
|
||||
.then(async (doupdate) => {
|
||||
|
||||
if (doupdate)
|
||||
return mytable.updateOne({ _id: mytablerec._id }, mydata, { new: true })
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user