From ed5f272c07ec33ed2fc7b2e473fab983fe42bc28 Mon Sep 17 00:00:00 2001 From: dankito Date: Sat, 30 Nov 2024 21:10:24 +0100 Subject: [PATCH] Forgot to add showDebugOutputOnConsole --- .../net/codinux/invoicing/email/ListenForNewMailsOptions.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/ListenForNewMailsOptions.kt b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/ListenForNewMailsOptions.kt index 6ed93c9..ea4cf38 100644 --- a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/ListenForNewMailsOptions.kt +++ b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/ListenForNewMailsOptions.kt @@ -17,11 +17,13 @@ open class ListenForNewMailsOptions( emailFolderName: String = "INBOX", connectTimeoutSeconds: Int = 5, + showDebugOutputOnConsole: Boolean = false, + onError: ((FetchEmailError) -> Unit)? = null, onEmailReceived: (Email) -> Unit ) : FetchEmailsOptions( null, downloadMessageBody, downloadOnlyPlainTextOrHtmlMessageBody, null, downloadAttachmentsWithExtensions, attachmentsDownloadDirectory, - emailFolderName, connectTimeoutSeconds, onError, onEmailReceived + emailFolderName, connectTimeoutSeconds, showDebugOutputOnConsole, onError, onEmailReceived ) \ No newline at end of file