From 30cd96f82a1164e11eb4fe4efbb6456cb536601a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 12 Dec 2020 03:12:08 -0500 Subject: [PATCH] Fix bad controller replacement --- src/Ombi/Controllers/V1/JobController.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/Ombi/Controllers/V1/JobController.cs b/src/Ombi/Controllers/V1/JobController.cs index 7f05474dc..b8ae1446b 100644 --- a/src/Ombi/Controllers/V1/JobController.cs +++ b/src/Ombi/Controllers/V1/JobController.cs @@ -93,10 +93,21 @@ namespace Ombi.Controllers.V1 } /// - /// Runs the Jellyfin User importer + /// Runs the Emby User importer /// /// [HttpPost("embyuserimporter")] + public async Task EmbyUserImporter() + { + await OmbiQuartz.TriggerJob(nameof(IEmbyUserImporter), "Emby"); + return true; + } + + /// + /// Runs the Jellyfin User importer + /// + /// + [HttpPost("jellyfinuserimporter")] public async Task JellyfinUserImporter() { await OmbiQuartz.TriggerJob(nameof(IJellyfinUserImporter), "Jellyfin");