Fix bad controller replacement

This commit is contained in:
Joshua M. Boniface 2020-12-12 03:12:08 -05:00
commit 30cd96f82a

View file

@ -93,10 +93,21 @@ namespace Ombi.Controllers.V1
}
/// <summary>
/// Runs the Jellyfin User importer
/// Runs the Emby User importer
/// </summary>
/// <returns></returns>
[HttpPost("embyuserimporter")]
public async Task<bool> EmbyUserImporter()
{
await OmbiQuartz.TriggerJob(nameof(IEmbyUserImporter), "Emby");
return true;
}
/// <summary>
/// Runs the Jellyfin User importer
/// </summary>
/// <returns></returns>
[HttpPost("jellyfinuserimporter")]
public async Task<bool> JellyfinUserImporter()
{
await OmbiQuartz.TriggerJob(nameof(IJellyfinUserImporter), "Jellyfin");