Fixed a small bug in the SR cacher

This commit is contained in:
tidusjar 2016-04-14 21:40:38 +01:00
commit 256cfbc80f
2 changed files with 2 additions and 1 deletions

View file

@ -64,7 +64,7 @@ namespace PlexRequests.Services
{
Log.Trace("Getting all shows from SickRage");
var movies = SrApi.GetShows(settings.ApiKey, settings.FullUri);
Cache.Set(CacheKeys.SickRageQueued, movies, 10);
Cache.Set(CacheKeys.SickRageQueued, movies.Result);
}
}

View file

@ -52,6 +52,7 @@ namespace PlexRequests.UI.Helpers
sb.AppendLine($"<script src=\"{content}/Content/jquery-2.2.1.min.js\"></script>");
sb.AppendLine($"<script src=\"{content}/Content/handlebars.min.js\"></script>");
sb.AppendLine($"<script src=\"{content}/Content/bootstrap.min.js\"></script>");
sb.AppendLine($"<script src=\"{content}/Content/bootstrap-notify.min.js\"></script>");
sb.AppendLine($"<script src=\"{content}/Content/site.js\"></script>");
sb.AppendLine($"<script src=\"{content}/Content/pace.min.js\"></script>");
sb.AppendLine($"<script src=\"{content}/Content/jquery.mixitup.js\"></script>");