From 6b0e2855410214985c32b99a5aad58a15cd9d721 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Tue, 24 Feb 2026 03:17:54 +0000 Subject: [PATCH] Auto commit: 2026-02-24T03:17:54.602Z --- api/song_requests.php | 2 +- index.php | 50 ++++++++++++++++++++++++++++--------------- 2 files changed, 34 insertions(+), 18 deletions(-) diff --git a/api/song_requests.php b/api/song_requests.php index 98d20a8..3b4165c 100644 --- a/api/song_requests.php +++ b/api/song_requests.php @@ -45,7 +45,7 @@ if ($method === 'POST') { } } - echo json_encode(['success' => true, 'bonus_awarded' => $bonus]); + echo json_encode(['success' => true, 'bonus_awarded' => $bonus, 'was_priority' => ($req && $req['is_priority'] == 1)]); } elseif ($action === 'delete') { $stmt = $db->prepare("DELETE FROM song_requests WHERE id = ?"); $stmt->execute([$id]); diff --git a/index.php b/index.php index 0142c4b..d1bc600 100644 --- a/index.php +++ b/index.php @@ -1985,6 +1985,9 @@ $twitter_link = "https://twitter.com/"; +