diff --git a/app/Ship/Parents/Models/Model.php b/app/Ship/Parents/Models/Model.php index a2b862381..0232518cc 100644 --- a/app/Ship/Parents/Models/Model.php +++ b/app/Ship/Parents/Models/Model.php @@ -3,8 +3,9 @@ namespace App\Ship\Parents\Models; use Apiato\Core\Abstracts\Models\Model as AbstractModel; +use Apiato\Core\Traits\CanOwnTrait; abstract class Model extends AbstractModel { - + use CanOwnTrait; } diff --git a/app/Ship/Parents/Models/UserModel.php b/app/Ship/Parents/Models/UserModel.php index 073e0e771..9323866e3 100644 --- a/app/Ship/Parents/Models/UserModel.php +++ b/app/Ship/Parents/Models/UserModel.php @@ -3,6 +3,7 @@ namespace App\Ship\Parents\Models; use Apiato\Core\Abstracts\Models\UserModel as AbstractUserModel; +use Apiato\Core\Traits\CanOwnTrait; use Illuminate\Notifications\Notifiable; use Laravel\Passport\HasApiTokens; use Spatie\Permission\Traits\HasRoles; @@ -12,4 +13,5 @@ abstract class UserModel extends AbstractUserModel use Notifiable; use HasApiTokens; use HasRoles; + use CanOwnTrait; }