@ubean/devtools 0.3.7 → 0.4.0
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -800,7 +800,7 @@ function createCrudServer(options) {
|
|
|
800
800
|
errors: ["File already exists"]
|
|
801
801
|
};
|
|
802
802
|
else {
|
|
803
|
-
const cronContent = content || `import { defineScheduled } from 'ubean';
|
|
803
|
+
const cronContent = content || `import { defineScheduled } from 'ubean/server';
|
|
804
804
|
|
|
805
805
|
export default defineScheduled({
|
|
806
806
|
schedule: '${schedule || "* * * * *"}',
|