#2363 Added the ability to pass any username into the API using the ApiAlias header

This commit is contained in:
tidusjar 2019-01-16 21:33:15 +00:00
parent 359d191fc3
commit 3b91392323
18 changed files with 1455 additions and 116 deletions

View file

@ -83,7 +83,8 @@ namespace Ombi.Core.Engine
Approved = false,
RequestedUserId = userDetails.Id,
Background = movieInfo.BackdropPath,
LangCode = model.LanguageCode
LangCode = model.LanguageCode,
RequestedByAlias = model.RequestedByAlias
};
var usDates = movieInfo.ReleaseDates?.Results?.FirstOrDefault(x => x.IsoCode == "US");