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 { try {
const response = await axios.post( const response = await axios.post(
`${API_URL}/total-orders/calculate`, `${API_URL}/total-orders/calculate`,

View File

@ -33,7 +33,6 @@ const Users = () => {
const fetchUsers = async () => { const fetchUsers = async () => {
try { try {
const data = await getUsers(); const data = await getUsers();
console.log(data);
setUsers(data); setUsers(data);
} catch (error) { } catch (error) {
if (error.response && error.response.status === 401) { if (error.response && error.response.status === 401) {