From aa395c7a2f1d80e95d433ceb27e75b2facfbe928 Mon Sep 17 00:00:00 2001 From: Jared Hendrickson Date: Tue, 15 Aug 2023 17:24:16 -0600 Subject: [PATCH] fix: fixed accidental assignment of Response --- pfSense-pkg-API/files/etc/inc/api/core/Response.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/pfSense-pkg-API/files/etc/inc/api/core/Response.inc b/pfSense-pkg-API/files/etc/inc/api/core/Response.inc index a0686fb46..234b52c33 100644 --- a/pfSense-pkg-API/files/etc/inc/api/core/Response.inc +++ b/pfSense-pkg-API/files/etc/inc/api/core/Response.inc @@ -100,7 +100,6 @@ class Response extends Error { $this->message = str_replace(["\"", "'"], "`", $message); $this->status = strtolower($this->get_http_status_message($this->code)); $this->response_id = strtoupper($response_id); - $this->code = $code; $this->data = $data; parent::__construct($this->message, $this->code);