mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
backups: default is_successful to false
This commit is contained in:
@@ -25,7 +25,8 @@ class BackupRepository extends EloquentRepository
|
||||
return $this->getBuilder()
|
||||
->withTrashed()
|
||||
->where('server_id', $server)
|
||||
->where('is_successful', true)
|
||||
->whereNull('completed_at')
|
||||
->orWhere('is_successful', '=', true)
|
||||
->where('created_at', '>=', Carbon::now()->subSeconds($seconds)->toDateTimeString())
|
||||
->get()
|
||||
->toBase();
|
||||
|
||||
Reference in New Issue
Block a user