diff --git a/gates/src/main/java/ru/mlokoin/gates/controller/v1/GatesController.java b/gates/src/main/java/ru/mlokoin/gates/controller/v1/GatesController.java index 672b27d..3f6635b 100644 --- a/gates/src/main/java/ru/mlokoin/gates/controller/v1/GatesController.java +++ b/gates/src/main/java/ru/mlokoin/gates/controller/v1/GatesController.java @@ -100,12 +100,12 @@ public class GatesController { doc.setExtension( ext.get()); doc = client.post() - .uri("http://resource-service-api:8181/storage-entry/create") - .body(Mono.just(doc), Document.class) - .retrieve() - .bodyToMono(new ParameterizedTypeReference (){}) - .timeout(Duration.ofSeconds(1)) - .block(); + .uri("http://resource-service-api:8181/storage-entry/create") + .body(Mono.just(doc), Document.class) + .retrieve() + .bodyToMono(new ParameterizedTypeReference (){}) + .timeout(Duration.ofSeconds(1)) + .block(); MultipartBodyBuilder builder = new MultipartBodyBuilder(); Boolean ok; diff --git a/gates/src/main/resources/templates/documents.html b/gates/src/main/resources/templates/documents.html index b466858..cb119cd 100644 --- a/gates/src/main/resources/templates/documents.html +++ b/gates/src/main/resources/templates/documents.html @@ -31,7 +31,7 @@ xmlns:th="http://www.thymeleaf.org"> - +