Skip to content

Commit

Permalink
fix: dfgdfgsdfgsdfgsdfg (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybeeelsdon authored Jul 25, 2024
1 parent e8d74e7 commit cf93737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DARE-API/Services/ConsumeInternalMessageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ private void Process(IMessage<int> 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);
Expand Down

0 comments on commit cf93737

Please sign in to comment.