Skip to content

Commit

Permalink
Add apps id to integration history
Browse files Browse the repository at this point in the history
  • Loading branch information
arfenis committed Sep 17, 2024
1 parent e71f142 commit e8ab3ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function execute(): ModelsEntityIntegrationHistory
$integrationHistory = new ModelsEntityIntegrationHistory();
$integrationHistory->entity_namespace = get_class($this->dto->entity);
$integrationHistory->entity_id = $this->dto->entity->getId();
$integrationHistory->apps_id = $this->app->getId();
$integrationHistory->integrations_company_id = $this->dto->integrationCompany->getId();
$integrationHistory->status_id = $this->dto->status->getId();
$integrationHistory->response = $this->dto->response;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class EntityIntegrationHistory extends BaseModel

protected $fillable = [
'entity_namespace',
'apps_id',
'entity_id',
'integrations_company_id',
'status_id',
Expand Down

0 comments on commit e8ab3ea

Please sign in to comment.