Fix get card data (#10)

This commit is contained in:
struga 2022-03-02 16:08:57 +03:00 committed by GitHub
parent 40cab571c5
commit d51cbaa873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

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

View File

@ -19,8 +19,7 @@ import lombok.RequiredArgsConstructor;
import java.nio.ByteBuffer;
import java.util.Map;
import static dev.vality.java.damsel.utils.creators.ProxyProviderPackageCreators.createFinishIntentSuccessWithToken;
import static dev.vality.java.damsel.utils.creators.ProxyProviderPackageCreators.createPostUserInteraction;
import static dev.vality.java.damsel.utils.creators.ProxyProviderPackageCreators.*;
import static dev.vality.java.damsel.utils.extractors.OptionsExtractors.extractRedirectTimeout;
@RequiredArgsConstructor
@ -82,7 +81,7 @@ public class IntentResultFactory {
Timer.timeout(TimeoutUtils.toSeconds(timerRedirectTimeoutMin)))
.setTimeoutBehaviour(TimeoutBehaviour.callback(
ByteBuffer.wrap(parametersSerializer.writeByte(params)))
).setUserInteraction(createPostUserInteraction(threeDsData.getAcsUrl(), params))
).setUserInteraction(createGetUserInteraction(threeDsData.getAcsUrl()))
);
}