fix
This commit is contained in:
parent
d56c4c15f2
commit
6e410eb3b0
@ -33,10 +33,7 @@ query.beforeRequest = async (config) => {
|
||||
return config;
|
||||
};
|
||||
query.afterResponse = async (response, ctx) => {
|
||||
if (response.code === 401) {
|
||||
console.log('401 after', response);
|
||||
}
|
||||
return response as any;
|
||||
return await queryLogin.run401Action(response, ctx);
|
||||
};
|
||||
export const queryLogin = new QueryLoginNode({
|
||||
query: query as any,
|
||||
|
Loading…
x
Reference in New Issue
Block a user