Skip to content

Commit f740461

Browse files
committed
Oops, forgot to commit this - make use of the now variable in the predicate.
1 parent 08546da commit f740461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAdmin/FirebaseAdmin/Auth/HttpPublicKeySource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public async Task<IReadOnlyList<PublicKey>> GetPublicKeysAsync(
7373
try
7474
{
7575
var now = _clock.UtcNow;
76-
if (_cachedKeys == null || _clock.UtcNow >= _expirationTime)
76+
if (_cachedKeys == null || now >= _expirationTime)
7777
{
7878
using (var httpClient = _clientFactory.CreateDefaultHttpClient())
7979
{

0 commit comments

Comments
 (0)