This commit is contained in:
Андрей Дувакин 2024-10-07 18:47:08 +05:00
parent 63bb8efcfb
commit 3979f02c7e
2 changed files with 1 additions and 2 deletions

View File

@ -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`,

View File

@ -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) {