mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 12:46:53 +00:00
Add @Produces annotation for validation error response
This commit is contained in:
1 parent
b8f363b187
commit
ef2cc6620e
2 files changed
+22
-8
No files matched your search
+1
@@ -521,6 +521,7 @@ public class AccountController {
|
||||
@PUT
|
||||
@Path("/gcm/")
|
||||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@ChangesDeviceEnabledState
|
||||
public void setGcmRegistrationId(@Auth DisabledPermittedAuthenticatedAccount disabledPermittedAuth,
|
||||
@NotNull @Valid GcmRegistrationId registrationId) {
|
||||
|
||||
Reference in new issue
Block a user