Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit c3763cd

Browse files
joshijileastprivilege
authored andcommitted
Changed result to refreshResult (#47)
1 parent e97de27 commit c3763cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clients/ConsoleClientWithBrowser/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private static async Task NextSteps(LoginResult result)
100100
if (key.Key == ConsoleKey.R)
101101
{
102102
var refreshResult = await _oidcClient.RefreshTokenAsync(currentRefreshToken);
103-
if (result.IsError)
103+
if (refreshResult.IsError)
104104
{
105105
Console.WriteLine($"Error: {refreshResult.Error}");
106106
}
@@ -134,4 +134,4 @@ private static async Task CallApi(string currentAccessToken)
134134
}
135135
}
136136
}
137-
}
137+
}

0 commit comments

Comments
 (0)