Skip to content

Commit

Permalink
NIT: In 1.1.0 we no longer need to initialize `ApiExtensions.Configur…
Browse files Browse the repository at this point in the history
…ation = new Configuration` to run workers.
  • Loading branch information
jmigueprieto committed Dec 9, 2024
1 parent 473333f commit a0a5a93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/developer-guides/using-workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,15 @@ orkesConductorClient({
<TabItem value="csharp" label="C#">
``` csharp
ApiExtensions.Configuration = new Configuration
var conf = new Configuration
{
BasePath = "https://developer.orkescloud.com/api",
AuthenticationSettings = new OrkesAuthenticationSettings("_CHANGE_ME_", "_CHANGE_ME_")
};

var host = WorkflowTaskHost.CreateWorkerHost(
ApiExtensions.Configuration,
LogLevel.Information
conf,
LogLevel.Debug
);
host.Start();
```
Expand Down

0 comments on commit a0a5a93

Please sign in to comment.