optimizations
This commit is contained in:
@@ -37,7 +37,8 @@ class ArtworkController extends Controller
|
||||
(int) $user->id,
|
||||
(string) $data['title'],
|
||||
isset($data['description']) ? (string) $data['description'] : null,
|
||||
$categoryId
|
||||
$categoryId,
|
||||
(bool) ($data['is_mature'] ?? false)
|
||||
);
|
||||
|
||||
return response()->json([
|
||||
|
||||
Reference in New Issue
Block a user