Skip to content

Commit

Permalink
Oops, forgot to commit this - make use of the now variable in the pre…
Browse files Browse the repository at this point in the history
…dicate.
  • Loading branch information
cmpcdaly committed Nov 15, 2018
1 parent 08546da commit f740461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FirebaseAdmin/FirebaseAdmin/Auth/HttpPublicKeySource.cs
Expand Up @@ -73,7 +73,7 @@ public HttpPublicKeySource(string certUrl, IClock clock, HttpClientFactory clien
try
{
var now = _clock.UtcNow;
if (_cachedKeys == null || _clock.UtcNow >= _expirationTime)
if (_cachedKeys == null || now >= _expirationTime)
{
using (var httpClient = _clientFactory.CreateDefaultHttpClient())
{
Expand Down

0 comments on commit f740461

Please sign in to comment.