mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
Fix bad controller replacement
This commit is contained in:
parent
85e98e587f
commit
30cd96f82a
1 changed files with 12 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue