Skip to content

Commit 39093da

Browse files
author
Walker Leite
committed
fix(loopback): pass previous uid to loading fn
1 parent 0963212 commit 39093da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/client/services/loopback.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ addTokenFromLocalStorage(http);
8383
/* Request Interceptors */
8484
const interceptReqErrors = err => Promise.reject(err);
8585
const interceptRequest = (config) => {
86-
config.uid = setLoading(true);
86+
config.uid = setLoading(true, config.uid);
8787
// console.log('request', config);
8888
return config;
8989
};

0 commit comments

Comments
 (0)