Skip to content
Snippets Groups Projects

Added some missing javaDoc and removed some todos

Merged Axel Ytterås requested to merge cleanUp into main
16 files
+ 73
27
Compare changes
  • Side-by-side
  • Inline
Files
16
@@ -42,7 +42,7 @@ public class AccountController {
@@ -42,7 +42,7 @@ public class AccountController {
*
*
* Possible responses are HTTP 201 Created or HTTP 409 Conflict if another account with the same email already exists
* Possible responses are HTTP 201 Created or HTTP 409 Conflict if another account with the same email already exists
*
*
* @param request
* @param request request with email, password and first name
*/
*/
@PostMapping(path = "")
@PostMapping(path = "")
@ResponseStatus(code = HttpStatus.CREATED)
@ResponseStatus(code = HttpStatus.CREATED)
@@ -61,7 +61,6 @@ public class AccountController {
@@ -61,7 +61,6 @@ public class AccountController {
Account account = accountRepository.save(newAccount);
Account account = accountRepository.save(newAccount);
//TODO add default profile picture path
Profile profile = new Profile(request.firstname(), "", false, account.getId());
Profile profile = new Profile(request.firstname(), "", false, account.getId());
profileRepository.save(profile);
profileRepository.save(profile);
Loading