Solving an assignment twice adds its again which breaks the UI because the endpoint for lessonoverview returns mulitple values for the same assignment.

This commit is contained in:
Nanne Baars
2017-05-02 04:36:26 +02:00
parent b840b0f3b5
commit 454e8d4c14
4 changed files with 14 additions and 16 deletions

View File

@ -37,6 +37,7 @@ import java.util.List;
@RequiredArgsConstructor
@NoArgsConstructor
@Getter
@EqualsAndHashCode
public class Assignment {
@NonNull
private String name;