dobo 1.2.0 → 1.2.1

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -369,7 +369,8 @@ async function factory (pkgName) {
369
369
 
370
370
  listAttachments = async ({ model, id = '*', field = '*', file = '*' } = {}, { uriEncoded = true } = {}) => {
371
371
  const { map, kebabCase } = this.lib._
372
- const { importPkg, getPluginDataDir, pascalCase } = this.app.bajo
372
+ const { pascalCase } = this.lib.aneka
373
+ const { importPkg, getPluginDataDir } = this.app.bajo
373
374
  const mime = await importPkg('waibu:mime')
374
375
  const { fastGlob } = this.lib
375
376
  const root = `${getPluginDataDir('dobo')}/attachment`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Database ORM/ODM for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {