diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-01-17 09:12:33 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-01-17 09:12:33 +0900 |
| commit | 87d14a9545302a02c815843c2a56c2a031a14423 (patch) | |
| tree | 4483dba34e1309bba8efecc0407539ca9377d6f6 /src/api/models/post.ts | |
| parent | Fix bug (diff) | |
| download | sharkey-87d14a9545302a02c815843c2a56c2a031a14423.tar.gz sharkey-87d14a9545302a02c815843c2a56c2a031a14423.tar.bz2 sharkey-87d14a9545302a02c815843c2a56c2a031a14423.zip | |
:v:
Diffstat (limited to 'src/api/models/post.ts')
| -rw-r--r-- | src/api/models/post.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/api/models/post.ts b/src/api/models/post.ts index bea92a5f61..04468dd2ae 100644 --- a/src/api/models/post.ts +++ b/src/api/models/post.ts @@ -1 +1,3 @@ -export default global.db.collection('posts'); +import db from '../../db/mongodb'; + +export default db.collection('posts'); |