Skip to content

Commit

Permalink
Fix billingInstanceServiceIdPrefix missed error code (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
imsitnikov authored Mar 12, 2024
1 parent 554deab commit 0e32a0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/error-response-presenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
};
}
Expand Down
4 changes: 2 additions & 2 deletions src/const/us-error-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0e32a0a

Please sign in to comment.