refresh+/
This commit is contained in:
parent
79adf3ca86
commit
be6f3cdce6
@ -62,7 +62,7 @@ export async function makeRequest<TRequest = unknown, TResponse = unknown>({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function refresh(token: string) {
|
function refresh(token: string) {
|
||||||
return axios<never, AxiosResponse<{ accessToken: string; }>>(process.env.REACT_APP_DOMAIN + "/auth/refresh", {
|
return axios<never, AxiosResponse<{ accessToken: string; }>>(process.env.REACT_APP_DOMAIN + "/auth/refresh/", {
|
||||||
headers: {
|
headers: {
|
||||||
"Authorization": token,
|
"Authorization": token,
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
4596
package-lock.json
generated
Normal file
4596
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@frontend/kitui",
|
"name": "@frontend/kitui",
|
||||||
"version": "1.0.77",
|
"version": "1.0.78",
|
||||||
"description": "test",
|
"description": "test",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"module": "./dist/index.js",
|
"module": "./dist/index.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user