Skip to content

Commit d033139

Browse files
committed
Make VaultDto ID non-nullable.
1 parent c4a0e6e commit d033139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main/java/org/cryptomator/hub/api/VaultResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ public Response claimOwnership(@PathParam("vaultId") UUID vaultId, @FormParam("p
495495
}
496496

497497

498-
public record VaultDto(@JsonProperty("id") UUID id,
498+
public record VaultDto(@JsonProperty("id") @NotBlank UUID id,
499499
@JsonProperty("name") @NoHtmlOrScriptChars @NotBlank String name,
500500
@JsonProperty("description") @NoHtmlOrScriptChars String description,
501501
@JsonProperty("archived") boolean archived,

0 commit comments

Comments
 (0)