3/4 Commisions test

This commit is contained in:
Filip Izydorczyk
2020-10-05 17:56:35 +02:00
parent 73104850fe
commit f9dd6e38c3
2 changed files with 55 additions and 13 deletions

View File

@ -25,8 +25,7 @@ public class CommisionService {
}
public List<Commision> getUsersCommisions(User user) {
Long id = user.getId();
return this.repo.getUsers(id);
return this.repo.getUsers(user.getId());
}
public Optional<Commision> getNewestCommision(User user) {