Fetch own username from the whoami endpoint.

This commit is contained in:
Greyson Parrelli
2022-11-01 10:26:50 -04:00
committed by Cody Henthorne
parent 53883ee3d3
commit 8c915572fb
4 changed files with 23 additions and 12 deletions

View File

@@ -12,6 +12,9 @@ public class WhoAmIResponse {
@JsonProperty
public String number;
@JsonProperty
public String username;
public String getAci() {
return uuid;
}
@@ -23,4 +26,8 @@ public class WhoAmIResponse {
public String getNumber() {
return number;
}
public String getUsername() {
return username;
}
}