mirror of
https://github.com/docmost/docmost.git
synced 2025-11-25 01:21:11 +10:00
restructure directories
* set log level based on env
This commit is contained in:
@ -10,7 +10,7 @@ import { UserRepo } from '@docmost/db/repos/user/user.repo';
|
||||
import { PageRepo } from '@docmost/db/repos/page/page.repo';
|
||||
import { SpaceMemberRepo } from '@docmost/db/repos/space/space-member.repo';
|
||||
import { findHighestUserSpaceRole } from '@docmost/db/repos/space/utils';
|
||||
import { SpaceRole } from '../../helpers/types/permission';
|
||||
import { SpaceRole } from '../../common/helpers/types/permission';
|
||||
import { getPageId } from '../collaboration.util';
|
||||
|
||||
@Injectable()
|
||||
|
||||
@ -110,6 +110,7 @@ export class PersistenceExtension implements Extension {
|
||||
...page,
|
||||
lastUpdatedById: context.user.id,
|
||||
content: tiptapJson,
|
||||
textContent: textContent,
|
||||
},
|
||||
});
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user