Fix recurrents (#17)

This commit is contained in:
struga 2022-03-24 13:25:17 +03:00 committed by GitHub
parent 6ffe114df5
commit 4a3cddcc99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -13,7 +13,7 @@
</parent>
<artifactId>adapter-flow-lib</artifactId>
<version>0.1.0</version>
<version>0.1.1</version>
<packaging>jar</packaging>
<name>adapter-flow-lib</name>

View File

@ -38,9 +38,11 @@ public class SuccessFinishProcessor
saveData = new HashMap<>();
}
String recToken = initRecurrentToken(response, entryStateModel);
if (StringUtils.hasText(recToken)) {
saveData.put(MetaData.META_REC_TOKEN, recToken);
exitStateModel.setRecToken(recToken);
}
}
exitStateModel.setTrxExtra(saveData);
log.debug("Finish success process response: {} entryStateModel: {}", response, entryStateModel);
return exitStateModel;