whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
Modules
/
RestAPI
/
Http
/
Controllers
/
Upload File:
files >> //home/kckglobal/www/portal/Modules/RestAPI/Http/Controllers/CompanyController.php
<?php namespace Modules\RestAPI\Http\Controllers; use Froiden\RestAPI\ApiResponse; class CompanyController extends ApiBaseController { public function company() { $company = api_user()->company; $company->makeHidden('card_last_four', 'stripe_id', 'card_brand', 'trial_ends_at'); return ApiResponse::make('Application data fetched successfully', $company->toArray()); } }
Copyright ©2021 || Defacer Indonesia