fix: convert config before passing to resolveBackend (#4948)
This commit is contained in:
parent
521896cd66
commit
9dd64a78b9
@ -38,4 +38,4 @@ const runCypress = async () => {
|
||||
}
|
||||
};
|
||||
|
||||
runCypress().catch(error => console.error(error));
|
||||
runCypress();
|
||||
|
@ -208,7 +208,7 @@ export function applyDefaults(originalConfig) {
|
||||
|
||||
throwOnMissingDefaultLocale(i18n);
|
||||
|
||||
const backend = resolveBackend(config);
|
||||
const backend = resolveBackend(fromJS(config));
|
||||
|
||||
for (const collection of config.collections) {
|
||||
if (!('publish' in collection)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user