diff --git a/src/components/error-response-presenter.ts b/src/components/error-response-presenter.ts index f81dc6ba..eb64fd9d 100644 --- a/src/components/error-response-presenter.ts +++ b/src/components/error-response-presenter.ts @@ -305,11 +305,11 @@ export default (error: AppError | DBError) => { }, }; } - case US_ERRORS.NOT_EXIST_SERVICE_INSTANCE_ID_PREFIX_IN_CONFIG: { + case US_ERRORS.NOT_EXIST_BILLING_INSTANCE_SERVICE_ID_PREFIX_IN_CONFIG: { return { code: 500, response: { - message: 'Not found serviceInstanceIdPrefix in config', + message: 'Not found billingInstanceServiceIdPrefix in config', }, }; } diff --git a/src/const/us-error-constants.ts b/src/const/us-error-constants.ts index c0731c80..ad149a2b 100644 --- a/src/const/us-error-constants.ts +++ b/src/const/us-error-constants.ts @@ -26,8 +26,8 @@ const US_ERRORS = { NOT_EXIST_SERVICE_INSTANCE: 'NOT_EXIST_SERVICE_INSTANCE', TENANT_IS_BEING_DELETED: 'TENANT_IS_BEING_DELETED', NOT_EXIST_TEMPLATES_CONFIG: 'NOT_EXIST_TEMPLATES_CONFIG', - NOT_EXIST_SERVICE_INSTANCE_ID_PREFIX_IN_CONFIG: - 'NOT_EXIST_SERVICE_INSTANCE_ID_PREFIX_IN_CONFIG', + NOT_EXIST_BILLING_INSTANCE_SERVICE_ID_PREFIX_IN_CONFIG: + 'NOT_EXIST_BILLING_INSTANCE_SERVICE_ID_PREFIX_IN_CONFIG', DLS_GET_SUGGEST_FAILED: 'DLS_GET_SUGGEST_FAILED', DLS_MODIFY_PERMISSIONS_FAILED: 'DLS_MODIFY_PERMISSIONS_FAILED', DLS_MODIFY_PERMISSIONS_BAD_REQUEST: 'DLS_MODIFY_PERMISSIONS_BAD_REQUEST',