diff --git a/src/Covid19Radar.Api/V1EventLog.cs b/src/Covid19Radar.Api/V1EventLog.cs index 40f99804f..9f4610715 100644 --- a/src/Covid19Radar.Api/V1EventLog.cs +++ b/src/Covid19Radar.Api/V1EventLog.cs @@ -127,7 +127,7 @@ public async Task RunAsync( continue; } - string id = ByteArrayUtils.ToHexString(sha256.ComputeHash(Encoding.ASCII.GetBytes(eventLog.ClearText))); + string id = ByteArrayUtils.ToHexString(sha256.ComputeHash(Encoding.ASCII.GetBytes(submissionParameter.IdempotencyKey + eventLog.ClearText))); var eventLogModel = new EventLogModel( eventLog.HasConsent,