diff --git a/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/HangfireController.cs b/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/HangfireController.cs index edc17a72..7b736b0c 100644 --- a/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/HangfireController.cs +++ b/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/HangfireController.cs @@ -39,6 +39,6 @@ public class HangfireController : ControllerBase [HttpPost("sap/werk/no")] public async Task WerkManuallySync(SapNoRequest request) { - await _hangfireService.CreateSapPersonSyncBackgroundJobAsync(request); + await _hangfireService.CreateSapWerkSyncBackgroundJobAsync(request); } }