diff --git a/src/api/arm.ts b/src/api/arm.ts index 85d6013..d1f2573 100644 --- a/src/api/arm.ts +++ b/src/api/arm.ts @@ -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',