mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-26 07:28:43 +02:00
Fix inverted comparison in the tvdb token refresh logic
This commit is contained in:
parent
75260a960b
commit
a756026962
|
@ -33,7 +33,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
// Refresh if necessary
|
// Refresh if necessary
|
||||||
if (_tokenCreatedAt > DateTime.Now.Subtract(TimeSpan.FromHours(20)))
|
if (_tokenCreatedAt < DateTime.Now.Subtract(TimeSpan.FromHours(20)))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue