summaryrefslogtreecommitdiff
path: root/src/api/models
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-14 13:59:26 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-14 13:59:26 +0900
commit2b4c5ecff4e4457c49a14d3ed0095cc9f0e1f758 (patch)
tree216793638b28dd1de209561ac79544e4a27f407a /src/api/models
parent#133 (diff)
downloadsharkey-2b4c5ecff4e4457c49a14d3ed0095cc9f0e1f758.tar.gz
sharkey-2b4c5ecff4e4457c49a14d3ed0095cc9f0e1f758.tar.bz2
sharkey-2b4c5ecff4e4457c49a14d3ed0095cc9f0e1f758.zip
Implement the poll feature
Closes #164
Diffstat (limited to 'src/api/models')
-rw-r--r--src/api/models/poll-vote.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/models/poll-vote.ts b/src/api/models/poll-vote.ts
new file mode 100644
index 0000000000..af77a2643e
--- /dev/null
+++ b/src/api/models/poll-vote.ts
@@ -0,0 +1,3 @@
+import db from '../../db/mongodb';
+
+export default db.get('poll_votes') as any; // fuck type definition