Fixed extra
This commit is contained in:
parent
b83a6db697
commit
5d03a0ab35
4 changed files with 3 additions and 5 deletions
|
|
@ -522,8 +522,6 @@ class Build extends Model
|
|||
*/
|
||||
public function setExtra($value)
|
||||
{
|
||||
$value = json_encode($value);
|
||||
|
||||
$this->validateString('Extra', $value);
|
||||
|
||||
if ($this->data['extra'] === $value) {
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ class BuildService
|
|||
}
|
||||
|
||||
if (!is_null($extra)) {
|
||||
$build->setExtra($extra);
|
||||
$build->setExtra(json_encode($extra));
|
||||
}
|
||||
|
||||
$build = $this->buildStore->save($build);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue