Compare commits
	
		
			1 Commits
		
	
	
		
			f1024941ed
			...
			f8af24506b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f8af24506b | 
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "@kevisual/query-login", |   "name": "@kevisual/query-login", | ||||||
|   "version": "0.0.2", |   "version": "0.0.3", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "main": "dist/query-login.js", |   "main": "dist/query-login.js", | ||||||
|   "types": "dist/query-login.d.ts", |   "types": "dist/query-login.d.ts", | ||||||
|   | |||||||
| @@ -266,7 +266,7 @@ export class QueryLogin { | |||||||
|           return config; |           return config; | ||||||
|         }, |         }, | ||||||
|         afterResponse: async (response, ctx) => { |         afterResponse: async (response, ctx) => { | ||||||
|           if (response?.code === 401 && check401) { |           if (response?.code === 401 && check401 && !token) { | ||||||
|             return await that.afterCheck401ToRefreshToken(response, ctx); |             return await that.afterCheck401ToRefreshToken(response, ctx); | ||||||
|           } |           } | ||||||
|           return response as any; |           return response as any; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user