s
This commit is contained in:
@@ -124,6 +124,7 @@ class TanamanController extends Controller
|
|||||||
$tanaman = Tanaman::create([
|
$tanaman = Tanaman::create([
|
||||||
...$validated,
|
...$validated,
|
||||||
'profile_id' => $profile->id,
|
'profile_id' => $profile->id,
|
||||||
|
'uid' => $validated['uid'] ?? $request->input('uid'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return (new TanamanResource($tanaman))
|
return (new TanamanResource($tanaman))
|
||||||
|
|||||||
Reference in New Issue
Block a user