Add to translations

This commit is contained in:
Kenton Royal 2018-09-05 20:25:51 +01:00
parent 30c9de818b
commit c9b6f5f05e
5 changed files with 25 additions and 4 deletions

View file

@ -491,6 +491,12 @@ namespace Ombi.Core.Engine
if (user == null)
{
user = await GetUser();
// If user is still null after attempting to get the logged in user, return null.
if (user == null)
{
return null;
}
}
int limit = user.MovieRequestLimit ?? 0;