|
@@ -131,7 +131,7 @@ class ProjectController extends Controller
|
|
TeamMember::create([
|
|
TeamMember::create([
|
|
'project_id' => $project->id,
|
|
'project_id' => $project->id,
|
|
'user_id' => Auth::id(),
|
|
'user_id' => Auth::id(),
|
|
- 'role' => Auth::user()->role,
|
|
|
|
|
|
+ 'role' => '',
|
|
'limited' => 1,
|
|
'limited' => 1,
|
|
'join_at' => Carbon::now()->toDateString(),
|
|
'join_at' => Carbon::now()->toDateString(),
|
|
'created_by' => Auth::id(),
|
|
'created_by' => Auth::id(),
|