Skip to content

Commit

Permalink
fix: No void type for ResponseEntity body
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelharlow committed Oct 14, 2024
1 parent cd695e8 commit 999425e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public class AccountService
private final AccountRepository accountRepository;

@Transactional
public void create(Account account)
public Account create(Account account)
{
accountRepository.save(account);
return accountRepository.save(account);
}

public List<Account> findAll()
Expand Down

0 comments on commit 999425e

Please sign in to comment.