Skip to content

Commit f181e0f

Browse files
authored
Merge pull request #16877 from marcusmoore/bug/sc-29012
Allow updating asset model image via api
2 parents b04efdf + d75de73 commit f181e0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Requests/StoreAssetModelRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function authorize(): bool
1919

2020
public function prepareForValidation(): void
2121
{
22+
parent::prepareForValidation();
2223

2324
if ($this->category_id) {
2425
if ($category = Category::find($this->category_id)) {

0 commit comments

Comments
 (0)