From 790a5701c954e9d3a4cd69e8008e38a70c318266 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Wed, 8 Apr 2020 16:46:46 +0100 Subject: [PATCH] Fixed typo in migration file refs https://github.com/TryGhost/Ghost/commit/5b96c82627dd2b6d2697da1857b6932b58ccbd0e --- core/server/data/migrations/versions/2.0/2-update-posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/data/migrations/versions/2.0/2-update-posts.js b/core/server/data/migrations/versions/2.0/2-update-posts.js index bcdb50e522..067e870e40 100644 --- a/core/server/data/migrations/versions/2.0/2-update-posts.js +++ b/core/server/data/migrations/versions/2.0/2-update-posts.js @@ -101,7 +101,7 @@ module.exports.down = (options) => { // CASE: revert: all new editor posts to the old editor format if (mobiledoc && post.html) { - html = renderers.mobiledocHtmlRenderer.render(mobiledoc, version); + html = mobiledocLib.renderers.mobiledocHtmlRenderer.render(mobiledoc, version); } return localOptions