diff options
Diffstat (limited to 'models/polls')
-rw-r--r-- | models/polls/poll.schema.ts | 2 |
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; } |