fix: pass missing old headers on refresh
This commit is contained in:
parent
051038d03e
commit
65fd77412e
@ -96,7 +96,7 @@ export class FetchService {
|
|||||||
},
|
},
|
||||||
(res) => {
|
(res) => {
|
||||||
if (res.ok && refreshParams.successCallback) {
|
if (res.ok && refreshParams.successCallback) {
|
||||||
params.headers = refreshParams.successCallback(res);
|
params.headers = refreshParams.successCallback(res, params.headers);
|
||||||
}
|
}
|
||||||
resolve();
|
resolve();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user