1
0
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:
David Bomba 2017-05-04 15:29:53 +10:00 committed by GitHub
parent 111aa356f3
commit 633d73f89b

View File

@ -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'];
}
}