Skip to content

Commit 01e8bdf

Browse files
author
Jigar Dhulla
committed
#10: Fixed Type in Class Name of RespondWithJsonErrorJob
1 parent a7b3d78 commit 01e8bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/jobs/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ of an HTML page leading to unexpected behaviours. We would create a job to be ru
434434
the response structure. Lucid ships with one that can be used as default, available in the built-in `Http` domain `App\Domains\Http\Jobs\RespondWithJsonErrorJob` which has a simple signature:
435435
436436
```php
437-
$this->run(RespondWithJobErrorJob::class, [
437+
$this->run(RespondWithJsonErrorJob::class, [
438438
'message' => $e->getMessage(),
439439
'code' => 2900, // custom error code, optional, default: 400
440440
'status' => 400, // HTTP response status code, optional, default: 400

0 commit comments

Comments
 (0)