From 428124f6ce1e67a8405882d7cf8f396486b059f2 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 7 Nov 2024 16:01:59 +0100 Subject: Add runner id to response --- public/index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php index b5135e9..6e0a8fb 100644 --- a/public/index.php +++ b/public/index.php @@ -46,8 +46,10 @@ if (isset($_POST["code"]) && strlen($_POST["code"]) <= 16383) { if (is_string($resultStr)) { $result = json_decode($resultStr, true); + $result["runner"] = $id; } + header("Content-Type: application/json"); echo json_encode($result); exit; -- cgit v1.2.3