Big changes added events for decisions
This commit is contained in:
@@ -49,6 +49,12 @@ protected static function booted()
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
static::created(function (Activity $activity) {
|
||||
if (! empty($activity->decision_id)) {
|
||||
event(new \App\Events\ActivityDecisionApplied($activity));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public function action(): BelongsTo
|
||||
|
||||
Reference in New Issue
Block a user