We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11f9f84 commit a6859edCopy full SHA for a6859ed
src/exceptions/FortniteAPIError.ts
@@ -5,11 +5,6 @@ import { FortniteAPIErrorData } from '../http/httpStructs';
5
* Represets a Fortnite-API HTTP error
6
*/
7
class FortniteAPIError extends Error {
8
- /**
9
- * The HTTP method
10
- */
11
- public method: string;
12
-
13
/**
14
* The URL of the requested API endpoint
15
@@ -35,7 +30,6 @@ class FortniteAPIError extends Error {
35
30
this.name = 'FortniteAPIError';
36
31
this.message = error.error;
37
32
38
- this.method = request.method!.toUpperCase();
39
33
this.url = request.url!;
40
34
this.httpStatus = status;
41
this.requestParams = request.params;
0 commit comments