From 19e12bf5cf6f56aed429333594444a40184c8a06 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 17 Jan 2017 10:39:21 +0900 Subject: :v: --- src/api/models/post.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/models/post.ts') diff --git a/src/api/models/post.ts b/src/api/models/post.ts index 04468dd2ae..97dc9d648f 100644 --- a/src/api/models/post.ts +++ b/src/api/models/post.ts @@ -1,3 +1,3 @@ import db from '../../db/mongodb'; -export default db.collection('posts'); +export default db.get('posts'); -- cgit v1.2.3-freya