0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Fixed wrong usage of frontend labs in server

no issue
This commit is contained in:
Simon Backx 2022-09-21 11:25:29 +02:00
parent 383edc293f
commit 719e5321d6

View file

@ -6,7 +6,7 @@ const localUtils = require('../../index');
const mobiledoc = require('../../../../../lib/mobiledoc');
const postsMetaSchema = require('../../../../../data/schema').tables.posts_meta;
const clean = require('./utils/clean');
const {labs} = require('../../../../../../frontend/services/proxy');
const labs = require('../../../../../../shared/labs');
function removeSourceFormats(frame) {
if (frame.options.formats?.includes('mobiledoc') || frame.options.formats?.includes('lexical')) {