Skip to content

Commit

Permalink
refactor: change _token from private to protected
Browse files Browse the repository at this point in the history
  • Loading branch information
kukhariev committed Jul 25, 2024
1 parent 3394ced commit 0776ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uploadx/lib/uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ export abstract class Uploader implements UploadState {
responseType?: 'json' | 'text' | 'document';
protected _authorize: AuthorizeRequest;
protected _prerequest: PreRequest;
protected _token!: string;
private _eventsCount = 0;
private _token!: string;

constructor(
readonly file: File,
Expand Down

0 comments on commit 0776ce5

Please sign in to comment.