mirror of https://github.com/dapr/dotnet-sdk.git
Fix StateManager can't get dapr-api-token header. (#768)
When "dapr_api_token" is specified in the environment variable, actor.statemanager cannot correctly set "dapr-api-token" in the request header。 Co-authored-by: Ryan Nowak <nowakra@gmail.com>
This commit is contained in:
parent
839acaf877
commit
a01a9d61b6
|
@ -25,7 +25,7 @@ namespace Dapr.Actors.Runtime
|
|||
Enabled = false,
|
||||
};
|
||||
private JsonSerializerOptions jsonSerializerOptions = JsonSerializerDefaults.Web;
|
||||
private string daprApiToken = null;
|
||||
private string daprApiToken = DaprDefaults.GetDefaultApiToken();
|
||||
private int? remindersStoragePartitions = null;
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue