Skip to content

Commit fb5c91f

Browse files
committed
Apply further suggestions from code review
1 parent ae261c2 commit fb5c91f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,7 @@ public UserDto(
5656
String ecdsaPublicKey,
5757
String privateKeys,
5858
String setupCode) {
59-
super(id, Type.USER, name, pictureUrl);
60-
this.email = email;
61-
this.language = language;
62-
this.devices = devices;
63-
this.ecdhPublicKey = ecdhPublicKey;
64-
this.ecdsaPublicKey = ecdsaPublicKey;
65-
this.privateKeys = privateKeys;
66-
this.setupCode = setupCode;
59+
this(id, name, pictureUrl, email, language, devices, ecdhPublicKey, ecdhPublicKey, ecdsaPublicKey, privateKeys, privateKeys, setupCode);
6760
}
6861

6962
@JsonProperty("email")

0 commit comments

Comments
 (0)