Skip to content

Commit

Permalink
fix: search blueprint by item ID instead of item and owner IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
warlof committed Aug 31, 2021
1 parent 79698f3 commit c5fe2c1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Jobs/Character/Blueprints.php
Expand Up @@ -111,7 +111,6 @@ public function handle()
$chunk->each(function ($blueprint) {

$model = CharacterBlueprint::firstOrNew([
'character_id' => $this->getCharacterId(),
'item_id' => $blueprint->item_id,
]);

Expand Down
1 change: 0 additions & 1 deletion src/Jobs/Corporation/Blueprints.php
Expand Up @@ -110,7 +110,6 @@ public function handle(): void
$chunk->each(function ($blueprint) {

$model = CorporationBlueprint::firstOrNew([
'corporation_id' => $this->getCorporationId(),
'item_id' => $blueprint->item_id,
]);

Expand Down

0 comments on commit c5fe2c1

Please sign in to comment.