From 85ed6ea036b0601dc7e5275fcb11397391a16119 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 f1102d13e..ed5f1e6b9 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;