Merge pull request #1426 from jellyfin/cvium-fix-tvdb-refresh

Fix inverted comparison in the tvdb token refresh logic
This commit is contained in:
Anthony Lavado 2019-05-31 21:27:33 -04:00 committed by GitHub
commit e1da046960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
get
{
// Refresh if necessary
if (_tokenCreatedAt > DateTime.Now.Subtract(TimeSpan.FromHours(20)))
if (_tokenCreatedAt < DateTime.Now.Subtract(TimeSpan.FromHours(20)))
{
try
{