mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 14:18:04 +01:00
Add @Produces to PUT /v1/accounts/apn
This commit is contained in:
committed by
Jon Chambers
parent
e1a5105c28
commit
60cc0c482e
@@ -143,6 +143,7 @@ public class AccountController {
|
||||
@PUT
|
||||
@Path("/apn/")
|
||||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@ChangesDeviceEnabledState
|
||||
public void setApnRegistrationId(@Auth DisabledPermittedAuthenticatedAccount disabledPermittedAuth,
|
||||
@NotNull @Valid ApnRegistrationId registrationId) {
|
||||
|
||||
Reference in New Issue
Block a user