From c8248efb1162abbfdbb71c4ad59d95be025125bb Mon Sep 17 00:00:00 2001 From: esoe Date: Tue, 15 Oct 2024 16:27:42 +0300 Subject: [PATCH] qq --- .../mlokoin/gates/controller/v1/GatesController.java | 12 ++++++------ gates/src/main/resources/templates/documents.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) 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"> - +