Skip to content

Commit

Permalink
api(remote): fix oops in BackupStatusController
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewpi committed Apr 11, 2024
1 parent f671046 commit b1fa392
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public function index(ReportBackupCompleteRequest $request, string $backup): Jso
/** @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();
Expand Down

0 comments on commit b1fa392

Please sign in to comment.