mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 13:26:53 +00:00
remove support for GET /v1/accounts/me
This commit is contained in:
1 parent
8c3ebdcbab
commit
541bf968e5
2 files changed
+3
-12
No files matched your search
-8
@@ -263,14 +263,6 @@ public class AccountController {
|
||||
registrationRecoveryPasswordsManager.store(updatedAccount.getIdentifier(IdentityType.PNI), registrationRecoveryPassword));
|
||||
}
|
||||
|
||||
@GET
|
||||
@Path("/me")
|
||||
@Deprecated() // use whoami
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
public AccountIdentityResponse getMe(@ReadOnly @Auth AuthenticatedDevice auth) {
|
||||
return AccountIdentityResponseBuilder.fromAccount(auth.getAccount());
|
||||
}
|
||||
|
||||
@GET
|
||||
@Path("/whoami")
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
|
||||
Reference in new issue
Block a user