Skip to content

Commit

Permalink
Merge branch 'console' into console-v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jagankumar-egov committed Feb 19, 2025
2 parents 8da4baf + 6367c3c commit 6bb8a40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export const CONSTANTS: any = {
CAMPAIGN_ALREADY_MAPPED: "Campaign is already mapped",
PARENT_CAMPAIGN_ERROR: "Parent Camapign error ",
INVALID_RESOURCE_DISTRIBUTION_STRATEGY: "Invalid resource distribution strategy",
RESOURCES_CONSOLIDATION_ERROR : "Error while consolidating resources in Campaign Update Flow "
RESOURCES_CONSOLIDATION_ERROR : "Error while consolidating resources in Campaign Update Flow ",
VALIDATION_ERROR_ACTIVE_ROW: "At least one active row is required"
},
BOUNDARY: {
BOUNDARY_DATA_NOT_FOUND: "No boundary data found in the system.",
Expand Down Expand Up @@ -176,4 +177,4 @@ export const getErrorCodes = (module: string, key: string): Error => {
notFound: true,
message: message
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ export function validateEmptyActive(data: any, type: string, localizationMap?: {
isActiveRowsZero = false;
}
if(isActiveRowsZero){
throwError("COMMON", 400, "VALIDATION_ERROR", "At least one active row is required");
throwError("COMMON", 400, "VALIDATION_ERROR_ACTIVE_ROW");
}
}

Expand Down

0 comments on commit 6bb8a40

Please sign in to comment.