Skip to content

Commit

Permalink
Removed dummy events (#560)
Browse files Browse the repository at this point in the history
Co-authored-by: Henning Normann <[email protected]>
  • Loading branch information
HenningNormann and HenningNormann authored Nov 22, 2024
1 parent 33da125 commit 61cd17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/Controllers/MigrationController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public async Task<ActionResult<List<InstanceEvent>>> CreateInstanceEvents([FromB
{
try
{
foreach (var instanceEvent in instanceEvents)
foreach (var instanceEvent in instanceEvents.Where(ie => !string.IsNullOrEmpty(ie.EventType)))
{
await _instanceEventRepository.InsertInstanceEvent(instanceEvent);
}
Expand Down

0 comments on commit 61cd17a

Please sign in to comment.