waibu-db 2.2.1 → 2.2.2
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/lib/crud/add-handler.js +0 -1
- package/package.json +1 -1
- package/wiki/CHANGES.md +4 -0
package/lib/crud/add-handler.js
CHANGED
|
@@ -33,7 +33,6 @@ async function addHandler ({ req, reply, model, params = {}, template, addOnsHan
|
|
|
33
33
|
form._addmore = req.session[`wdb${model}AddMore`]
|
|
34
34
|
form._cloneprev = req.session[`wdb${model}ClonePrev`]
|
|
35
35
|
}
|
|
36
|
-
console.log(form)
|
|
37
36
|
const addOns = addOnsHandler ? await addOnsHandler.call(this.app[req.ns], { req, reply, params, data: resp, schema, error, options }) : undefined
|
|
38
37
|
merge(params, { form, schema, error, addOns })
|
|
39
38
|
if (schema.template) template = schema.template
|
package/package.json
CHANGED
package/wiki/CHANGES.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## 2026-01-24
|
|
4
4
|
|
|
5
|
+
- [2.2.2] Remove annoying console.log trap
|
|
6
|
+
|
|
7
|
+
## 2026-01-24
|
|
8
|
+
|
|
5
9
|
- [2.2.0] Model's option can now be sent through ```modelOpts``` object in ```options``` handler
|
|
6
10
|
- [2.2.0] ```prepCrud()``` now accept model instance or model name only
|
|
7
11
|
- [2.2.0] ```getSchemaExt``` now accept model instance or model name only
|