fetch item prices - throttle end points with promise queue
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
import axios from 'axios';
|
||||
|
||||
export const http = axios.create();
|
||||
|
||||
export const setHeader = (header: string, value: string) => {
|
||||
http.defaults.headers[header] = value;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user