mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:07:33 -05:00 
			
		
		
		
	minor fixes for create company routeS'
This commit is contained in:
		
							parent
							
								
									f0e45bda76
								
							
						
					
					
						commit
						a8fcec8ace
					
				@ -164,7 +164,8 @@ class CompanyController extends BaseController
 | 
			
		||||
     */
 | 
			
		||||
    public function create(CreateCompanyRequest $request)
 | 
			
		||||
    {
 | 
			
		||||
        $company = CompanyFactory::create(auth()->user()->company()->account->id);
 | 
			
		||||
        $cf = new \App\Factory\CompanyFactory;
 | 
			
		||||
        $company = $cf->create(auth()->user()->company()->account->id);
 | 
			
		||||
 | 
			
		||||
        return $this->itemResponse($company);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user