Skip to content

Commit ef48028

Browse files
authored
Update README.md
1 parent 705c27d commit ef48028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ try {
100100
'title' => 'required|unique:posts|max:255',
101101
'body' => 'required',
102102
]);
103-
} catch (\Illuminate\Validation\ValidationException $e) {
103+
} catch (ValidationException $e) {
104104
return ApiProblem::response($e->getMessage(), 422, null, null, ['errors' => $e->errors()]);
105105
}
106106
```

0 commit comments

Comments
 (0)