Remove debug
This commit is contained in:
parent
d47b0a6170
commit
152492eb06
@ -328,9 +328,6 @@ public final class APIv3 extends AbstractVerticle {
|
||||
public static void respondJson(RoutingContext ctx, int code, Object response) {
|
||||
ctx.response().putHeader(HttpHeaders.CONTENT_TYPE, MediaType.JSON_UTF_8.toString());
|
||||
ctx.response().setStatusCode(code);
|
||||
if (!ctx.request().path().contains("dumps")) {
|
||||
log.info(gson.toJson(response));
|
||||
}
|
||||
ctx.response().end(gson.toJson(response));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user