This commit is contained in:
2025-03-25 00:38:41 +08:00
parent cb490470c1
commit 64c70ce527
14 changed files with 261 additions and 73 deletions

View File

@@ -289,9 +289,19 @@
import { User, UserInit, UserServices } from '@kevisual/code-center-module/models';
export { User, UserInit, UserServices };
UserInit(null, null, {
alter: true,
logging: false,
}).catch((e) => {
console.error('User sync', e);
});
import { OrgInit } from '@kevisual/code-center-module/models';
const init = async () => {
await OrgInit(null, null, {
alter: true,
logging: false,
}).catch((e) => {
console.error('Org sync', e);
});
await UserInit(null, null, {
alter: true,
logging: false,
}).catch((e) => {
console.error('User sync', e);
});
};
init();