Fixes for N+1

This commit is contained in:
David Bomba 2023-02-20 21:10:37 +11:00
parent 5765dd697c
commit a190c61a72

View File

@ -28,6 +28,10 @@ class CompanyGateway extends BaseModel
'deleted_at' => 'timestamp',
];
protected $with = [
'gateway',
];
protected $fillable = [
'gateway_key',
'accepted_credit_cards',