diff --git a/src/main/java/org/ntlab/acanthus_server/entities/LoginResponseJson.java b/src/main/java/org/ntlab/acanthus_server/entities/LoginResponseJson.java index bc03bc3..d3317e9 100644 --- a/src/main/java/org/ntlab/acanthus_server/entities/LoginResponseJson.java +++ b/src/main/java/org/ntlab/acanthus_server/entities/LoginResponseJson.java @@ -9,12 +9,15 @@ private Integer uid; @JsonProperty("token") private String token; + @JsonProperty("name") + private String name; //----------------------------------------------------------------- //----------------------------------------------------------------- public LoginResponseJson(Account account) { this.uid = account.getUid(); this.token = account.getToken(); + this.name = account.getName(); } //----------------------------------------------------------------- }