diff --git a/services/error_code.service.js b/services/error_code.service.js index 1c2c68f..01b9c2f 100644 --- a/services/error_code.service.js +++ b/services/error_code.service.js @@ -119,17 +119,6 @@ class ErrorCodeService { try { if (!data || typeof data !== "object") data = {}; - if ( - !data.solution || - !Array.isArray(data.solution) || - data.solution.length === 0 - ) { - throw new ErrorHandler( - 400, - "Error code must have at least 1 solution" - ); - } - const errorId = await createErrorCodeDb(brandId, { error_code: data.error_code, error_code_name: data.error_code_name,