From cf93737a919baaa735ff7b4e68fcf0c2ba4aa81b Mon Sep 17 00:00:00 2001 From: jaybeeelsdon Date: Thu, 25 Jul 2024 16:39:56 +0100 Subject: [PATCH] fix: dfgdfgsdfgsdfgsdfg (#769) --- src/DARE-API/Services/ConsumeInternalMessageService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DARE-API/Services/ConsumeInternalMessageService.cs b/src/DARE-API/Services/ConsumeInternalMessageService.cs index 6eae4e7b7..04b4485df 100644 --- a/src/DARE-API/Services/ConsumeInternalMessageService.cs +++ b/src/DARE-API/Services/ConsumeInternalMessageService.cs @@ -95,9 +95,9 @@ private void Process(IMessage message, MessageReceivedInfo info) { string fileName = Path.GetFileName(uri.LocalPath); - Log.Information("{Function} Full file loc {File}, Incoming URL {URL}, our minio {Minio}", "Process", fileName, uri.Scheme + ":\\" + uri.Host + ":" + uri.Port, _minioSettings.AdminConsole); + Log.Information("{Function} Full file loc {File}, Incoming URL {URL}, our minio {Minio}", "Process", fileName, uri.Scheme.ToLower() + "://" + uri.Host.ToLower() + ":" + uri.Port, _minioSettings.AdminConsole.ToLower()); messageMQ.Key = fileName; - if (uri.Scheme + "://" + uri.Host + ":" + uri.Port != _minioSettings.AdminConsole) + if (uri.Scheme.ToLower() + "://" + uri.Host.ToLower() + ":" + uri.Port != _minioSettings.AdminConsole.ToLower()) { Log.Information("{Function} Copying external", "Process"); _minioHelper.RabbitExternalObject(messageMQ);