fix: change wording on error

This commit is contained in:
ilham
2021-12-17 01:46:22 +07:00
parent 3c8b018937
commit c5b5a4ab06
8 changed files with 22 additions and 22 deletions

View File

@@ -34,7 +34,7 @@ export class CommissionService {
throw new HttpException(
{
statusCode: HttpStatus.NOT_FOUND,
error: 'Data not found',
error: 'Commission not found',
},
HttpStatus.NOT_FOUND,
);
@@ -52,7 +52,7 @@ export class CommissionService {
throw new HttpException(
{
statusCode: HttpStatus.NOT_FOUND,
error: 'Data not found',
error: 'Commission not found',
},
HttpStatus.NOT_FOUND,
);