Skip to content
Snippets Groups Projects
Commit 7640f66f authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Merge branch 'refactor-vote' into 'master'

Remove id from vote model

See merge request !222
parents cc5e14a2 86ff0b84
Branches
Tags
1 merge request!222Remove id from vote model
Pipeline #27114 passed with stages
in 8 minutes and 8 seconds
export class Vote { export class Vote {
id: string;
userId: string; userId: string;
commentId: string; commentId: string;
vote: number; vote: number;
...@@ -7,7 +6,6 @@ export class Vote { ...@@ -7,7 +6,6 @@ export class Vote {
constructor(userId: string , constructor(userId: string ,
commentId: string, commentId: string,
vote: number) { vote: number) {
this.id = '';
this.userId = userId; this.userId = userId;
this.commentId = commentId; this.commentId = commentId;
this.vote = vote; 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