Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
package com.videogamescatalogue.backend.dto.internal.user;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Size;

public record UpdateUserRequestDto(
String profileName,
@Email(message = "Invalid format of email.")
String email,
@Size(max = 5000, message = "About user info must be less than 5000 digits")
String about,
@Size(max = 50, message = "Location info must be less than 50 digits")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void setUp() {

updateUserRequestDto = new UpdateUserRequestDto(
"updated profileName", null,
null, null
null
);

changePasswordRequestDto = new ChangePasswordRequestDto(
Expand Down