Shared:Utils: delete console log
This commit is contained in:
parent
0fb2b762c0
commit
ffe98ad175
@ -1,5 +1,5 @@
|
||||
{
|
||||
"date": "2024619_181025",
|
||||
"date": "2024624_152825",
|
||||
"checksums": {
|
||||
"api.js": "0efbae3383bf6c6b6f26d573eee164d2",
|
||||
"api.poly.js": "2a2ac2c0e4a7007b61d2d1ff7b00a22e",
|
||||
|
@ -187,7 +187,6 @@ class AxiosClient {
|
||||
skipRedirect = false,
|
||||
) => {
|
||||
const onSuccess = (response: TRes) => {
|
||||
console.log("suc");
|
||||
const error = this.getResponseError(response);
|
||||
|
||||
if (error) throw new Error(error);
|
||||
@ -195,8 +194,6 @@ class AxiosClient {
|
||||
if (response.headers["x-redirect-uri"] && options.withRedirect) {
|
||||
const redirectUri = response.headers["x-redirect-uri"];
|
||||
|
||||
console.log("call");
|
||||
|
||||
if (typeof redirectUri === "string")
|
||||
return window.location.replace(redirectUri);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user