wip
This commit is contained in:
parent
1acc30822d
commit
71065077f6
44 changed files with 132 additions and 126 deletions
|
|
@ -30,6 +30,10 @@ export type IPost = {
|
|||
userId: mongo.ObjectID;
|
||||
appId: mongo.ObjectID;
|
||||
viaMobile: boolean;
|
||||
repostCount: number;
|
||||
repliesCount: number;
|
||||
reactionCounts: any;
|
||||
mentions: mongo.ObjectID[];
|
||||
geo: {
|
||||
latitude: number;
|
||||
longitude: number;
|
||||
|
|
@ -184,7 +188,7 @@ export const pack = async (
|
|||
const myChoice = poll.choices
|
||||
.filter(c => c.id == vote.choice)[0];
|
||||
|
||||
myChoice.is_voted = true;
|
||||
myChoice.isVoted = true;
|
||||
}
|
||||
|
||||
return poll;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue