Refactor object initialization and remove unused import.
Updated the object initialization syntax for cleaner code and removed an unused import in WorkflowValidator.cs to improve code readability and maintainability.
This commit is contained in:
parent
be94a51b8c
commit
ea8c3da169
|
|
@ -70,6 +70,6 @@ internal class BulkPublish(IWorkflowDefinitionStore store, IWorkflowDefinitionPu
|
|||
updatedConsumers.AddRange(result.AffectedWorkflows.WorkflowDefinitions.Select(x => x.DefinitionId));
|
||||
}
|
||||
|
||||
return new Response(published, alreadyPublished, notFound, skipped, updatedConsumers);
|
||||
return new(published, alreadyPublished, notFound, skipped, updatedConsumers);
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,6 @@ using Elsa.Mediator.Contracts;
|
|||
using Elsa.Workflows.Activities;
|
||||
using Elsa.Workflows.Management.Models;
|
||||
using Elsa.Workflows.Management.Notifications;
|
||||
using Elsa.Workflows.Management.Requests;
|
||||
|
||||
namespace Elsa.Workflows.Management.Services;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue