Fix bad controller replacement

pull/3924/head
Joshua M. Boniface 4 years ago
parent 85e98e587f
commit 30cd96f82a

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

Loading…
Cancel
Save