._.
This commit is contained in:
parent
63bb8efcfb
commit
3979f02c7e
@ -542,7 +542,7 @@ export const getDeliveryOrderDetails = async (deliveryOrderId) => {
|
||||
}
|
||||
};
|
||||
|
||||
export const calculateTotalOrder = async () => {
|
||||
export const calculateTotalOrder = async (deadline, robotsCount) => {
|
||||
try {
|
||||
const response = await axios.post(
|
||||
`${API_URL}/total-orders/calculate`,
|
||||
|
||||
@ -33,7 +33,6 @@ const Users = () => {
|
||||
const fetchUsers = async () => {
|
||||
try {
|
||||
const data = await getUsers();
|
||||
console.log(data);
|
||||
setUsers(data);
|
||||
} catch (error) {
|
||||
if (error.response && error.response.status === 401) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user