chore: update deps
This commit is contained in:
@@ -72,7 +72,7 @@ class RequestClient {
|
||||
const authorization = this.makeAuthorization?.(config);
|
||||
if (authorization) {
|
||||
config.headers[authorization.key || 'Authorization'] =
|
||||
authorization.handle?.();
|
||||
authorization.handler?.();
|
||||
}
|
||||
return config;
|
||||
}, this.errorHandler);
|
||||
|
@@ -7,7 +7,7 @@ type RequestContentType =
|
||||
| 'multipart/form-data;charset=utf-8';
|
||||
|
||||
interface MakeAuthorization {
|
||||
handle: () => null | string;
|
||||
handler: () => null | string;
|
||||
key?: string;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user