mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 08:42:57 -07:00
Removed a change that shoudn't have been commited.
This commit is contained in:
parent
dd46f08f8b
commit
7d03d296fd
2 changed files with 2 additions and 7 deletions
|
@ -72,11 +72,7 @@ namespace PlexRequests.Core
|
||||||
return new T();
|
return new T();
|
||||||
}
|
}
|
||||||
result.Content = DecryptSettings(result);
|
result.Content = DecryptSettings(result);
|
||||||
var obj = string.IsNullOrEmpty(result.Content) ? null : JsonConvert.DeserializeObject<T>(result.Content, SerializerSettings.Settings);
|
return string.IsNullOrEmpty(result.Content) ? null : JsonConvert.DeserializeObject<T>(result.Content, SerializerSettings.Settings);
|
||||||
|
|
||||||
var model = obj;
|
|
||||||
|
|
||||||
return model;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool SaveSettings(T model)
|
public bool SaveSettings(T model)
|
||||||
|
|
|
@ -111,8 +111,7 @@ namespace PlexRequests.UI
|
||||||
container.Register<IHeadphonesApi, HeadphonesApi>();
|
container.Register<IHeadphonesApi, HeadphonesApi>();
|
||||||
container.Register<ISlackApi, SlackApi>();
|
container.Register<ISlackApi, SlackApi>();
|
||||||
|
|
||||||
|
|
||||||
container.AutoRegister();
|
|
||||||
|
|
||||||
// Notification Service
|
// Notification Service
|
||||||
container.Register<INotificationService, NotificationService>().AsSingleton();
|
container.Register<INotificationService, NotificationService>().AsSingleton();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue