Remove `@Consumes` from `GET /v1/config`
This commit is contained in:
parent
5e25481088
commit
3854b7d472
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2013-2021 Signal Messenger, LLC
|
* Copyright 2013-2022 Signal Messenger, LLC
|
||||||
* SPDX-License-Identifier: AGPL-3.0-only
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -55,7 +55,6 @@ public class RemoteConfigController {
|
||||||
|
|
||||||
@Timed
|
@Timed
|
||||||
@GET
|
@GET
|
||||||
@Consumes(MediaType.APPLICATION_JSON)
|
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
public UserRemoteConfigList getAll(@Auth AuthenticatedAccount auth) {
|
public UserRemoteConfigList getAll(@Auth AuthenticatedAccount auth) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue