Fix
This commit is contained in:
+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