From 47ef3612201d3a4f83399ba64e25dd38ec5a15c2 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 31 Jan 2023 08:26:36 +0800 Subject: [PATCH] fix: 8dfa2760f0d74cd16ef1a2357506abc33179671a --- web/app/models/UOJRemoteProblem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/models/UOJRemoteProblem.php b/web/app/models/UOJRemoteProblem.php index 304bee5..11e5fe8 100644 --- a/web/app/models/UOJRemoteProblem.php +++ b/web/app/models/UOJRemoteProblem.php @@ -54,7 +54,7 @@ class UOJRemoteProblem { } return [ - 'content-type' => $curl->response_headers['Content-Type'], + 'content-type' => $curl->responseHeaders['Content-Type'], 'response' => $curl->response, ]; });