Skip to content

Commit

Permalink
Merge pull request #61 from ManzerAnsari/main
Browse files Browse the repository at this point in the history
Fix undefined variables "message" and "response"
  • Loading branch information
JeanExtreme002 authored Mar 4, 2024
2 parents d3af7c6 + 40f828f commit c4df6c0
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 c4df6c0

Please sign in to comment.