Skip to content
Snippets Groups Projects
Commit 86ff0b84 authored by Tom Käsler's avatar Tom Käsler
Browse files

Remove id from model. PK is userId+commentId

parent 1e01e203
No related merge requests found
export class Vote {
id: string;
userId: string;
commentId: string;
vote: number;
......@@ -7,7 +6,6 @@ export class Vote {
constructor(userId: string ,
commentId: string,
vote: number) {
this.id = '';
this.userId = userId;
this.commentId = commentId;
this.vote = vote;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment