mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
refactor model event again
This commit is contained in:
@@ -448,7 +448,7 @@ $meiliSearch = new \App\Repositories\MeiliSearchRepository();
|
||||
$meiliSearch->doImportFromDatabase($id);
|
||||
|
||||
//trigger event
|
||||
fire_event("torrent_created", $id);
|
||||
fire_event("torrent_created", \App\Models\Torrent::query()->find($id));
|
||||
|
||||
//===notify people who voted on offer thanks CoLdFuSiOn :)
|
||||
if ($is_offer)
|
||||
|
||||
Reference in New Issue
Block a user