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);