Because one shouldn't take the size of null things
This commit is contained in:
parent
ecfa161da8
commit
51f37350eb
|
@ -12,7 +12,7 @@ import javax.validation.constraints.NotNull;
|
|||
import javax.validation.constraints.Size;
|
||||
import org.whispersystems.textsecuregcm.util.ExactlySize;
|
||||
|
||||
public record BatchIdentityCheckRequest(@Valid @Size(max = 1000) List<Element> elements) {
|
||||
public record BatchIdentityCheckRequest(@Valid @NotNull @Size(max = 1000) List<Element> elements) {
|
||||
|
||||
/**
|
||||
* @param aci account id
|
||||
|
|
Loading…
Reference in New Issue