From 329701ba422023fc0a893b9e72d068dd7334d212 Mon Sep 17 00:00:00 2001
From: Christian Weiske <cweiske@cweiske.de>
Date: Sun, 15 Sep 2024 11:53:52 +0200
Subject: [PATCH] Return correct verification code after setup

---
 www/api/rest/connect.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/api/rest/connect.php b/www/api/rest/connect.php
index bcf7a20..26266c0 100644
--- a/www/api/rest/connect.php
+++ b/www/api/rest/connect.php
@@ -75,7 +75,7 @@ $data = [
 
     'body' => [
         'status' => 'CONNECTED',
-        'verificationCode' => 'd7d987',
+        'verificationCode' => $gamestick->verificationCode,
         'config' => [
             'apps'   => 'PLACEHOLDER_APPS',
             'global' => [
-- 
2.30.2