Explorar el Código

Add missing GET annotation on log flag status API call

pull/33/head
Kristijan Mitrovic hace 4 años
padre
commit
615b1cda66
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. +3
    -2
      bubble-server/src/main/java/bubble/resources/cloud/LogsResource.java

+ 3
- 2
bubble-server/src/main/java/bubble/resources/cloud/LogsResource.java Ver fichero

@@ -16,7 +16,8 @@ import javax.ws.rs.core.Response;

import static bubble.ApiConstants.*;
import static org.cobbzilla.util.http.HttpContentTypes.APPLICATION_JSON;
import static org.cobbzilla.wizard.resources.ResourceUtil.*;
import static org.cobbzilla.wizard.resources.ResourceUtil.forbiddenEx;
import static org.cobbzilla.wizard.resources.ResourceUtil.ok;

@Consumes(APPLICATION_JSON)
@Produces(APPLICATION_JSON)
@@ -30,7 +31,7 @@ public class LogsResource {
this.account = account;
}

@Path(EP_STATUS)
@GET @Path(EP_STATUS)
@NonNull public Response getLoggingStatus(@NonNull @Context final ContainerRequest ctx) {
return ok(selfNodeService.getLogFlag());
}


Cargando…
Cancelar
Guardar