Skip to content

Commit

Permalink
Fix undefined variables "message" and "response"
Browse files Browse the repository at this point in the history
  • Loading branch information
ManzerAnsari committed Mar 3, 2024
1 parent d3af7c6 commit 40f828f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nodejs/FlightRadar24/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
}

Expand Down

0 comments on commit 40f828f

Please sign in to comment.