feat: add const for time
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good

This commit is contained in:
Ильназ 2025-01-19 10:50:28 +03:00
parent 6ca7de9467
commit 06abc15c9a

View File

@ -10,8 +10,8 @@ const armService = () => {
const endpoint = getConfigValue('dry-wash.api');
const fetchOrders = async ({ date }: { date: Date }) => {
let startDate = dayjs(date).startOf('day').toISOString();
let endDate = dayjs(date).endOf('day').toISOString();
const startDate = dayjs(date).startOf('day').toISOString();
const endDate = dayjs(date).endOf('day').toISOString();
const response = await fetch(`${endpoint}${ArmEndpoints.ORDERS}`, {
method: 'POST',