Skip to content

Commit 2305a73

Browse files
committed
truncating name
Signed-off-by: Neil South <[email protected]>
1 parent e7a7954 commit 2305a73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/InformaticsGateway/Services/Http/HL7DestinationController.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
using System;
1919
using System.Collections.Generic;
20+
using System.Linq;
2021
using System.Net.Mime;
2122
using System.Threading.Tasks;
2223
using Microsoft.AspNetCore.Http;
@@ -197,7 +198,7 @@ public async Task<ActionResult<HL7DestinationEntity>> Delete(string name)
197198

198199
await _repository.RemoveAsync(hl7DestinationEntity, HttpContext.RequestAborted).ConfigureAwait(false);
199200

200-
_logger.HL7DestinationEntityDeleted(name);
201+
_logger.HL7DestinationEntityDeleted(new string(name.Take(5).ToArray()));
201202
return Ok(hl7DestinationEntity);
202203
}
203204
catch (Exception ex)

0 commit comments

Comments
 (0)