@@ -11,6 +11,6 @@ export class ContestEntry {
@ManyToOne(type => Contest, contest => contest.entries)
contest: Contest;
- @OneToMany(type => ContestVote, vote => vote.contest)
+ @OneToMany(type => ContestVote, vote => vote.contestEntry)
votes: ContestVote[];
}