From 40f828f84bfd98d3ceaefc9fe125c9aa29a1ee31 Mon Sep 17 00:00:00 2001 From: ManzerAnsari Date: Sun, 3 Mar 2024 16:25:49 +0530 Subject: [PATCH] Fix undefined variables "message" and "response" --- nodejs/FlightRadar24/request.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodejs/FlightRadar24/request.js b/nodejs/FlightRadar24/request.js index da8e8e6..13db4da 100644 --- a/nodejs/FlightRadar24/request.js +++ b/nodejs/FlightRadar24/request.js @@ -72,8 +72,8 @@ class APIRequest { if (this.getStatusCode() == 520) { throw new CloudflareError( - message = "An unexpected error has occurred. Perhaps you are making too many calls?", - response = this.__response, + "An unexpected error has occurred. Perhaps you are making too many calls?", + this.__response, ); }