!wip poweruser

pull/2571/head^2
Jamie 6 years ago
parent 12d37511ee
commit 8bb3b1888d

@ -59,6 +59,7 @@ namespace Ombi.Controllers.External
/// </summary>
/// <returns></returns>
[HttpGet("Profiles")]
[PowerUser]
public async Task<IEnumerable<RadarrProfile>> GetProfiles()
{
var settings = await RadarrSettings.GetSettingsAsync();
@ -75,6 +76,7 @@ namespace Ombi.Controllers.External
/// </summary>
/// <returns></returns>
[HttpGet("RootFolders")]
[PowerUser]
public async Task<IEnumerable<RadarrRootFolder>> GetRootFolders()
{
var settings = await RadarrSettings.GetSettingsAsync();

@ -55,6 +55,7 @@ namespace Ombi.Controllers.External
/// </summary>
/// <returns></returns>
[HttpGet("Profiles")]
[PowerUser]
public async Task<IEnumerable<SonarrProfile>> GetProfiles()
{
var settings = await SonarrSettings.GetSettingsAsync();
@ -70,6 +71,7 @@ namespace Ombi.Controllers.External
/// </summary>
/// <returns></returns>
[HttpGet("RootFolders")]
[PowerUser]
public async Task<IEnumerable<SonarrRootFolder>> GetRootFolders()
{
var settings = await SonarrSettings.GetSettingsAsync();

Loading…
Cancel
Save