Set DB
This commit is contained in:
parent
abd53a8ece
commit
f3d9552614
1 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ use App\Models\CompanyGateway;
|
|||
use App\Models\PaymentHash;
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
use App\Libraries\MultiDB;
|
||||
|
||||
class IbpRequest extends FormRequest
|
||||
{
|
||||
|
|
@ -30,6 +31,8 @@ class IbpRequest extends FormRequest
|
|||
*/
|
||||
public function authorize()
|
||||
{
|
||||
MultiDB::findAndSetDbByCompanyKey($this->company_key);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue