diff --git a/pom.xml b/pom.xml
index 03701e0..199aaa5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
adapter-flow-lib
- 0.0.4
+ 0.0.5
jar
adapter-flow-lib
diff --git a/src/main/java/dev/vality/adapter/flow/lib/service/TagManagementService.java b/src/main/java/dev/vality/adapter/flow/lib/service/TagManagementService.java
index 7198f93..c9bd95f 100644
--- a/src/main/java/dev/vality/adapter/flow/lib/service/TagManagementService.java
+++ b/src/main/java/dev/vality/adapter/flow/lib/service/TagManagementService.java
@@ -18,16 +18,7 @@ public class TagManagementService {
Optional first = adapterProperties.getTagGeneratorFieldNames().stream()
.filter(s -> StringUtils.hasText(parameters.get(s)))
.findFirst();
- return first.get();
+ return adapterProperties.getTagPrefix() + parameters.get(first.get());
}
- @SneakyThrows
- public String get(Map parameters) {
- Optional first = adapterProperties.getTagGeneratorFieldNames().stream()
- .filter(s -> StringUtils.hasText(parameters.get(s)))
- .findFirst();
- return first.get();
- }
-
-
}