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/";
+