remove sync
This commit is contained in:
@@ -4,22 +4,13 @@ import { OrgInit } from '../auth/models/index.ts';
|
||||
export { User, UserInit, UserServices, UserSecret };
|
||||
import { useContextKey } from '@kevisual/context';
|
||||
const init = async () => {
|
||||
await OrgInit(null, null, {
|
||||
alter: true,
|
||||
logging: false,
|
||||
}).catch((e) => {
|
||||
await OrgInit(null, null).catch((e) => {
|
||||
console.error('Org sync', e);
|
||||
});
|
||||
await UserInit(null, null, {
|
||||
alter: true,
|
||||
logging: false,
|
||||
}).catch((e) => {
|
||||
await UserInit(null, null).catch((e) => {
|
||||
console.error('User sync', e);
|
||||
});
|
||||
await UserSecretInit(null, null, {
|
||||
alter: true,
|
||||
logging: false,
|
||||
}).catch((e) => {
|
||||
await UserSecretInit(null, null).catch((e) => {
|
||||
console.error('UserSecret sync', e);
|
||||
});
|
||||
console.log('Models synced');
|
||||
|
||||
Reference in New Issue
Block a user