Commit workspace changes
This commit is contained in:
@@ -34,11 +34,12 @@ class ArtworkController extends Controller
|
||||
: null;
|
||||
|
||||
$result = $drafts->createDraft(
|
||||
(int) $user->id,
|
||||
$user,
|
||||
(string) $data['title'],
|
||||
isset($data['description']) ? (string) $data['description'] : null,
|
||||
$categoryId,
|
||||
(bool) ($data['is_mature'] ?? false)
|
||||
(bool) ($data['is_mature'] ?? false),
|
||||
$data['group'] ?? null,
|
||||
);
|
||||
|
||||
return response()->json([
|
||||
|
||||
Reference in New Issue
Block a user