diff --git a/app/Http/Controllers/Api/Remote/Backups/BackupStatusController.php b/app/Http/Controllers/Api/Remote/Backups/BackupStatusController.php index 042fbd050..75f039d28 100644 --- a/app/Http/Controllers/Api/Remote/Backups/BackupStatusController.php +++ b/app/Http/Controllers/Api/Remote/Backups/BackupStatusController.php @@ -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();