Skip to content

Commit

Permalink
#1789 Fixed deleting spells not working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Wotuu committed Jun 25, 2023
1 parent 913b3a0 commit d3339ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Ajax/APIKillZoneController.php
Expand Up @@ -91,7 +91,7 @@ private function saveKillZone(DungeonRoute $dungeonroute, array $data, bool $rec

// May be null for mass request
if ($spellIds !== null) {
$killZone->spells()->delete();
$killZone->killZoneSpells()->delete();

$spellsAttributes = [];
foreach ($spellIds as $spellId) {
Expand Down

0 comments on commit d3339ea

Please sign in to comment.