When saving setting, kick off the sync

This commit is contained in:
tidusjar 2020-06-11 11:04:17 +01:00
commit 3d5e4383d9
3 changed files with 31 additions and 7 deletions

View file

@ -89,6 +89,7 @@ namespace Ombi.Helpers
}
}
public static async Task TriggerJob(string jobName, string group, IDictionary<string, object> data)
{
await Scheduler.TriggerJob(new JobKey(jobName, group), new JobDataMap(data));