Some fixes after pull request (merge with master)

This commit is contained in:
axeleron007 2021-09-28 11:11:01 +03:00
parent a4a3c85af0
commit cd0f0154c1
2 changed files with 3 additions and 2 deletions

View file

@ -65,7 +65,7 @@ export class ElsaWorkflowTestPanel {
this.message = null;
this.workflowTestActivityMessages = [];
eventBus.emit(EventTypes.TestActivityMessageReceived, this, null);
const elsaClient = this.createClient();
const client = await createElsaClient(this.serverUrl);
const request: WorkflowTestExecuteRequest = {
workflowDefinitionId: this.workflowDefinition.definitionId,
@ -73,7 +73,7 @@ export class ElsaWorkflowTestPanel {
signalRConnectionId: this.signalRConnectionId
};
await elsaClient.workflowTestApi.execute(request);
await client.workflowTestApi.execute(request);
}
render() {

View file

@ -1,5 +1,6 @@
using System.Collections.Generic;
using Elsa.Retention.Extensions;
using Elsa.Server.Api.Hubs;
using Elsa.Server.Hangfire.Extensions;
using Hangfire;
using Microsoft.AspNetCore.Builder;