Skip to content

Commit

Permalink
seed_box_record_deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Nov 20, 2024
1 parent 870bb1f commit c864a34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Repositories/SeedBoxRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public function getDetail($id)
public function delete($id, $uid)
{
$this->clearCache();
publish_model_event("seed_box_record_deleted", $id);
return SeedBoxRecord::query()->whereIn('id', Arr::wrap($id))->where('uid', $uid)->delete();
}

Expand Down

0 comments on commit c864a34

Please sign in to comment.