Skip to content

Commit

Permalink
fix: PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
r4zendev committed Jan 16, 2025
1 parent 2744ecf commit 76d085d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/backoffice-v2/src/pages/MerchantMonitoring/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ export const MerchantMonitoringSearchSchema = BaseSearchSchema.extend({
],
)
.catch('All'),
from: z.string().date().default(dayjs().subtract(30, 'day').format('YYYY-MM-DD')),
to: z.string().date().default(dayjs().format('YYYY-MM-DD')),
from: z.string().date().catch(dayjs().subtract(30, 'day').format('YYYY-MM-DD')),
to: z.string().date().catch(dayjs().format('YYYY-MM-DD')),
});

0 comments on commit 76d085d

Please sign in to comment.