@bee.js/node 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/beehive.js +1 -1
- package/lib/beeHive/log.js +3 -1
- package/package.json +1 -1
package/beehive.js
CHANGED
|
@@ -378,7 +378,7 @@ module.exports = function hive(req = {}, res = {}, model = null) {
|
|
|
378
378
|
|
|
379
379
|
update: async function(data, ids = []) { // TODO criar auditoria
|
|
380
380
|
|
|
381
|
-
data = beeORM.forceData(data, req)
|
|
381
|
+
//data = beeORM.forceData(data, req)
|
|
382
382
|
|
|
383
383
|
let onlyFields = script[0].fields.concat((req.onlyFields||{})[model.table] || [])
|
|
384
384
|
let sql = beeORM.sqlInsertUpdate(model, data, onlyFields, 'UPDATE')
|
package/lib/beeHive/log.js
CHANGED