diff options
Diffstat (limited to 'src/api/models/post.ts')
| -rw-r--r-- | src/api/models/post.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |