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

Create patch-voting-class

parent d3f00f7e
No related merge requests found
export class PatchVoting {
type: string;
payload: {
userId: string;
commentId: string;
vote: number;
};
constructor(userId: string, commentId: string, vote: number) {
this.type = 'PatchComment';
this.payload = {
userId: userId,
commentId: commentId,
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