1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 00:52:43 +01:00

api(remote): fix oops in BackupStatusController

This commit is contained in:
Matthew Penner 2024-04-11 10:42:18 -06:00
parent f671046947
commit b1fa3927c1
No known key found for this signature in database

View File

@ -34,8 +34,8 @@ class BackupStatusController extends Controller
/** @var \Pterodactyl\Models\Node $node */
$node = $request->attributes->get('node');
/** @var \Pterodactyl\Models\Backup $backup */
$backup = Backup::query()
/** @var \Pterodactyl\Models\Backup $model */
$model = Backup::query()
->where('node_id', $node->id)
->where('uuid', $backup)
->firstOrFail();