Fix
This commit is contained in:
1 parent
402d690e96
commit
6f3dc0c05a
1 file changed
+4
-1
+4
-1
@@ -65,4 +65,7 @@ export const api = {
|
||||
}),
|
||||
exportUrl: (path, params) => {
|
||||
const qs = params ? '?' + new URLSearchParams(params).toString() : '';
|
||||
|
||||
const token = localStorage.getItem('cl_token');
|
||||
return BASE + path + qs + (token ? `${qs ? '&' : '?'}token=${token}` : '');
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user