Fixed ensuring that extension is in lowercase

This commit is contained in:
dankito 2024-11-28 03:53:27 +01:00
parent f1f16e2e9e
commit 7df4b944ee
1 changed files with 1 additions and 1 deletions

View File

@ -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)