mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 08:16:05 -07:00
Fixed #3405
This commit is contained in:
parent
0ed2c014a8
commit
4f9579e7bf
3 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ namespace Ombi.Core.Engine.Interfaces
|
|||
private OmbiUser _user;
|
||||
protected async Task<OmbiUser> GetUser()
|
||||
{
|
||||
return _user ?? (_user = await UserManager.Users.FirstOrDefaultAsync(x => x.UserName.Equals(Username, StringComparison.CurrentCultureIgnoreCase)));
|
||||
return _user ?? (_user = await UserManager.Users.FirstOrDefaultAsync(x => x.UserName == Username));
|
||||
}
|
||||
|
||||
protected async Task<string> UserAlias()
|
||||
|
|
|
@ -88,7 +88,7 @@ export interface ISonarrSettings extends IExternalSettings {
|
|||
export interface IRadarrSettings extends IExternalSettings {
|
||||
enabled: boolean;
|
||||
apiKey: string;
|
||||
defaultQualityProfile: string;
|
||||
defaultQualityProfile: number;
|
||||
defaultRootPath: string;
|
||||
fullRootPath: string;
|
||||
addOnly: boolean;
|
||||
|
|
|
@ -34,7 +34,7 @@ export class RadarrComponent implements OnInit {
|
|||
this.form = this.fb.group({
|
||||
enabled: [x.enabled],
|
||||
apiKey: [x.apiKey, [Validators.required]],
|
||||
defaultQualityProfile: [x.defaultQualityProfile, [Validators.required]],
|
||||
defaultQualityProfile: [+x.defaultQualityProfile, [Validators.required]],
|
||||
defaultRootPath: [x.defaultRootPath, [Validators.required]],
|
||||
ssl: [x.ssl],
|
||||
subDir: [x.subDir],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue