fix: convert config before passing to resolveBackend (#4948)

This commit is contained in:
Erez Rokah
2021-02-10 09:16:08 -08:00
committed by GitHub
parent 521896cd66
commit 9dd64a78b9
2 changed files with 2 additions and 2 deletions

View File

@ -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)) {