fix task status id on update
This commit is contained in:
parent
afa5f2338c
commit
ba6c45c08a
|
|
@ -50,6 +50,10 @@ class UpdateTaskRequest extends Request
|
||||||
{
|
{
|
||||||
$input = $this->decodePrimaryKeys($this->all());
|
$input = $this->decodePrimaryKeys($this->all());
|
||||||
|
|
||||||
|
if (array_key_exists('status_id', $input) && is_string($input['status_id'])) {
|
||||||
|
$input['status_id'] = $this->decodePrimaryKey($input['status_id']);
|
||||||
|
}
|
||||||
|
|
||||||
$this->replace($input);
|
$this->replace($input);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue