Skip to content

Commit

Permalink
Update modules/thunder_gqls/src/Wrappers/EntityListResponse.php
Browse files Browse the repository at this point in the history
Co-authored-by: alexpott <[email protected]>
  • Loading branch information
dbosen and alexpott authored Aug 21, 2024
1 parent 4c8a089 commit bc2f450
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/thunder_gqls/src/Wrappers/EntityListResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ public function items() {
return [];
}

if (empty($this->buffer)) {
// phpcs:ignore
$this->buffer = \Drupal::service('graphql.buffer.entity');
}

$callback = $this->buffer->add($this->query->getEntityTypeId(), array_values($result));
return new Deferred(fn() => $callback());
}
Expand Down

0 comments on commit bc2f450

Please sign in to comment.