diff --git a/InvenTree/InvenTree/tasks.py b/InvenTree/InvenTree/tasks.py index da1d29d76a..e623d7a98c 100644 --- a/InvenTree/InvenTree/tasks.py +++ b/InvenTree/InvenTree/tasks.py @@ -110,7 +110,7 @@ def offload_task(taskname, *args, force_sync=False, **kwargs): return # Workers are not running: run it as synchronous task - _func() + _func(*args, **kwargs) def heartbeat():