Skip to content

Commit

Permalink
Fix draft down migrate (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkrick authored Jun 23, 2017
1 parent 66eb076 commit 5244913
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ exports.down = async (r) => {
} catch (e) {
return undefined;
}
if (!raw) return undefined;
const contentState = convertFromRaw(raw);
const html = stateToHTML(contentState);
const markdown = toMarkdown(html);
Expand Down

0 comments on commit 5244913

Please sign in to comment.