Get the company_id data after the user is created
Is there a way to get the data of this company field after I created the user? I will use afterCreate and manually add the data in my pivot tables
1 Reply
try
dd($this->data)
inside ->afterCreate()