diff --git a/examples/DocExampleApis/DocExampleApis.csproj b/examples/DocExampleApis/DocExampleApis.csproj index fe4d87f8..9b477c28 100644 --- a/examples/DocExampleApis/DocExampleApis.csproj +++ b/examples/DocExampleApis/DocExampleApis.csproj @@ -8,7 +8,7 @@ - + diff --git a/examples/DocExampleApis/Program.cs b/examples/DocExampleApis/Program.cs index fb2fac5e..19071611 100644 --- a/examples/DocExampleApis/Program.cs +++ b/examples/DocExampleApis/Program.cs @@ -176,7 +176,7 @@ public static async Task Example_API_GenerateDisposableToken(IAuthClient authCli // Generate a disposable token with read-only access to all topics in one cache var allTopicsOneCacheToken = await authClient.GenerateDisposableTokenAsync( - DisposableTokenScopes.TopicSubscribeOnly(CacheSelector.ByName("squirrel"), TopicSelector.AllTopics), + DisposableTokenScopes.TopicSubscribeOnly("squirrel", TopicSelector.AllTopics), ExpiresIn.Minutes(30) );