Fixed ensuring that extension is in lowercase
This commit is contained in:
parent
f1f16e2e9e
commit
7df4b944ee
|
@ -195,7 +195,7 @@ open class EmailsFetcher(
|
||||||
}
|
}
|
||||||
|
|
||||||
val filename = File(part.fileName)
|
val filename = File(part.fileName)
|
||||||
val extension = filename.extension
|
val extension = filename.extension.lowercase()
|
||||||
|
|
||||||
val (invoice, invoiceFile) = tryToReadEInvoice(part, extension, messagePart.mediaType, status)
|
val (invoice, invoiceFile) = tryToReadEInvoice(part, extension, messagePart.mediaType, status)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue