mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
fix update peer last_action
This commit is contained in:
@@ -739,7 +739,7 @@ class TrackerRepository extends BaseRepository
|
||||
$peer->downloaded = $queries['downloaded'];
|
||||
|
||||
if ($peer->exists) {
|
||||
$peer->prev_action = $peer->last_action;
|
||||
$peer->prev_action = DB::raw('last_action');
|
||||
}
|
||||
|
||||
if ($queries['event'] == 'started' || !$peer->exists) {
|
||||
|
||||
Reference in New Issue
Block a user