aboutsummaryrefslogtreecommitdiff
path: root/models/polls/poll.schema.ts
diff options
context:
space:
mode:
authorilyayudovin <46264063+ilyayudovin@users.noreply.github.com>2020-06-12 14:09:52 +0300
committerGitHub <noreply@github.com>2020-06-12 14:09:52 +0300
commit8fc9f8d09d64f3a1e5d0dac238eac6ac9629c45f (patch)
treee1f7a7a362d6474d762940cd7c3796c0647ecaf1 /models/polls/poll.schema.ts
parent40b804ffdd26a0c9bab95b4ec6a539d9fe429ed3 (diff)
parent56c9c3355c6e27e2b014315583e0c90cc073937f (diff)
downloadwhich-api-8fc9f8d09d64f3a1e5d0dac238eac6ac9629c45f.tar.gz
Merge pull request #4 from eug-vs/populateDb
Populate db script
Diffstat (limited to 'models/polls/poll.schema.ts')
-rw-r--r--models/polls/poll.schema.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/polls/poll.schema.ts b/models/polls/poll.schema.ts
index ea91051..83de688 100644
--- a/models/polls/poll.schema.ts
+++ b/models/polls/poll.schema.ts
@@ -1,7 +1,7 @@
import { Document, Schema, Types } from 'mongoose';
import { User } from '../users/user.schema'
-interface ImageData {
+export interface ImageData {
url: string;
votes: number;
}