mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 08:16:05 -07:00
Add to translations
This commit is contained in:
parent
30c9de818b
commit
c9b6f5f05e
5 changed files with 25 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue