mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Update TaskRepository.php
Allow client to be updated from API.
This commit is contained in:
parent
111aa356f3
commit
633d73f89b
@ -148,6 +148,7 @@ class TaskRepository extends BaseRepository
|
||||
$task->is_running = false;
|
||||
} elseif ($data['action'] == 'offline'){
|
||||
$task->is_running = $data['is_running'] ? 1 : 0;
|
||||
$task->client_id = $data['client_id'];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user