Skip to content

Commit a6859ed

Browse files
authored
FortniteAPIError: Remove method property as it's never present
1 parent 11f9f84 commit a6859ed

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/exceptions/FortniteAPIError.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ import { FortniteAPIErrorData } from '../http/httpStructs';
55
* Represets a Fortnite-API HTTP error
66
*/
77
class FortniteAPIError extends Error {
8-
/**
9-
* The HTTP method
10-
*/
11-
public method: string;
12-
138
/**
149
* The URL of the requested API endpoint
1510
*/
@@ -35,7 +30,6 @@ class FortniteAPIError extends Error {
3530
this.name = 'FortniteAPIError';
3631
this.message = error.error;
3732

38-
this.method = request.method!.toUpperCase();
3933
this.url = request.url!;
4034
this.httpStatus = status;
4135
this.requestParams = request.params;

0 commit comments

Comments
 (0)