Skip to content

Commit

Permalink
Change validation for empty range date filter (#449)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Castillo <[email protected]>
  • Loading branch information
tomrndom authored Jul 22, 2024
1 parent 5579ae0 commit dd11f2b
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 dd11f2b

Please sign in to comment.