Add listener for succeeded event

This commit is contained in:
philipp lang 2023-12-30 19:28:25 +01:00
parent 1dc797948e
commit d630d8d6b4
1 changed files with 1 additions and 0 deletions

View File

@ -28,5 +28,6 @@ echo.channel('jobs')
.listen('\\App\\Lib\\Events\\JobStarted', (e) => handleJobEvent(e, 'success'))
.listen('\\App\\Lib\\Events\\JobFinished', (e) => handleJobEvent(e, 'success'))
.listen('\\App\\Lib\\Events\\JobFailed', (e) => handleJobEvent(e, 'error'));
.listen('\\App\\Lib\\Events\\Succeeded', (e) => handleJobEvent(e, 'success'));
export default echo;