Skip to content

Commit 45b96f9

Browse files
authored
Typo in constructor
Forgot beginning brace
1 parent e8b5cb7 commit 45b96f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/accesstokenmanagement/workers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public class WorkerManual : BackgroundService
9393
private readonly IHttpClientFactory _clientFactory;
9494
private readonly IClientCredentialsTokenManagementService _tokenManagementService;
9595

96-
public WorkerManualIHttpClientFactory factory, IClientCredentialsTokenManagementService tokenManagementService)
96+
public WorkerManual(IHttpClientFactory factory, IClientCredentialsTokenManagementService tokenManagementService)
9797
{
9898
_clientFactory = factory;
9999
_tokenManagementService = tokenManagementService;
@@ -150,4 +150,4 @@ public class WorkerHttpClient : BackgroundService
150150
}
151151
```
152152

153-
**remark** The clients in the factory have a message handler attached to them that automatically re-tries the request in case of a `401` response code. The request get re-sent with a newly requested access token. If this still results in a `401`, the response is returned to the caller.
153+
**remark** The clients in the factory have a message handler attached to them that automatically re-tries the request in case of a `401` response code. The request get re-sent with a newly requested access token. If this still results in a `401`, the response is returned to the caller.

0 commit comments

Comments
 (0)