From 238984be398bc655680aa443e77224c0c5f1f0d5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Apr 2018 16:17:30 +0900 Subject: [PATCH] oops --- tools/migration/nighthike/7.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/migration/nighthike/7.js b/tools/migration/nighthike/7.js index f1102d13ed..ed5f1e6b96 100644 --- a/tools/migration/nighthike/7.js +++ b/tools/migration/nighthike/7.js @@ -1,6 +1,7 @@ // for Node.js interpret -const { default: Post } = require('../../../built/models/post'); +const mongodb = require("../../../built/db/mongodb"); +const Post = mongodb.default.get('posts'); const { default: zip } = require('@prezzemolo/zip') const html = require('../../../built/text/html').default; const parse = require('../../../built/text/parse').default;