diff options
Diffstat (limited to 'nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt')
-rw-r--r-- | nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt index c74ea2f1..ca7b9116 100644 --- a/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt +++ b/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt @@ -285,14 +285,13 @@ private suspend fun fetchDocuments( } // downloading the content val doc = doc.doc() - val (orderType, service) = downloadDocService(doc) + val order = downloadDocService(doc, doc == SupportedDocument.PAIN_002_LOGS) ebicsDownload( ctx.httpClient, ctx.cfg, ctx.clientKeys, ctx.bankKeys, - orderType, - service, + order, lastExecutionTime, null ) { stream -> |