api(remote): fix oops in BackupStatusController
This commit is contained in:
parent
f671046947
commit
b1fa3927c1
|
@ -34,8 +34,8 @@ class BackupStatusController extends Controller
|
||||||
/** @var \Pterodactyl\Models\Node $node */
|
/** @var \Pterodactyl\Models\Node $node */
|
||||||
$node = $request->attributes->get('node');
|
$node = $request->attributes->get('node');
|
||||||
|
|
||||||
/** @var \Pterodactyl\Models\Backup $backup */
|
/** @var \Pterodactyl\Models\Backup $model */
|
||||||
$backup = Backup::query()
|
$model = Backup::query()
|
||||||
->where('node_id', $node->id)
|
->where('node_id', $node->id)
|
||||||
->where('uuid', $backup)
|
->where('uuid', $backup)
|
||||||
->firstOrFail();
|
->firstOrFail();
|
||||||
|
|
Loading…
Reference in New Issue