Skip to content

Commit

Permalink
Change validation for empty range date filter
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Castillo <[email protected]>
  • Loading branch information
tomrndom committed Jul 19, 2024
1 parent 1405202 commit 3356d62
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 90 deletions.
9 changes: 9 additions & 0 deletions src/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,12 @@ export const DEFAULT_CURRENT_PAGE = 1;
export const DEFAULT_PER_PAGE = 10;

export const DEFAULT_ORDER_DIR = 1;

export const ERROR_CODE_403 = 403;
export const ERROR_CODE_401 = 401;
export const ERROR_CODE_412 = 412;
export const ERROR_CODE_500 = 500;

export const MILLISECONDS_TO_SECONDS = 1000;

export const HEX_RADIX = 16;
Loading

0 comments on commit 3356d62

Please sign in to comment.