Add @Produces to PUT /v1/accounts/apn

This commit is contained in:
Chris Eager
2023-07-26 11:32:29 -05:00
committed by Jon Chambers
parent e1a5105c28
commit 60cc0c482e

View File

@@ -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) {