Skip to content

Commit

Permalink
Update entity property on travel
Browse files Browse the repository at this point in the history
  • Loading branch information
MGatner committed Aug 5, 2021
1 parent 1e59c1e commit 2bc590d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Entities/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ public function travel(int $actionId, bool $checkRequired = true): array

// Update the Job
model(JobModel::class)->update($this->attributes['id'], ['stage_id' => $target->id]);
$this->attributes['stage_id'] = $target->id;

return $results;
}
Expand Down

0 comments on commit 2bc590d

Please sign in to comment.