Skip to content

Commit 9cd62fe

Browse files
committed
Update from deprecated streamProvider
1 parent 911be10 commit 9cd62fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebms-provider/src/main/kotlin/no/nav/emottak/ebms/EbmsDocumentExchange.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ suspend fun ApplicationCall.receiveEbmsDokument(): EbMSDocument {
8080
val allParts = mutableListOf<PartData>().apply {
8181
this@receiveEbmsDokument.receiveMultipart().forEachPart {
8282
var partDataToAdd = it
83-
if (it is PartData.FileItem) it.streamProvider.invoke()
83+
if (it is PartData.FileItem) it.provider.invoke()
8484
if (it is PartData.FormItem) {
8585
val boundary = this@receiveEbmsDokument.request.contentType().parameter("boundary")
8686
if (it.value.contains("--$boundary--")) {

0 commit comments

Comments
 (0)