test commit.

This commit is contained in:
Ahmed Bouhuolia
2020-10-24 20:20:53 +02:00
parent da448f445c
commit 90d94d1457
2 changed files with 1 additions and 3 deletions

View File

@@ -214,7 +214,7 @@ export default class SalesReceiptsController extends BaseController{
}
handleServiceErrors(error: Error, req: Request, res: Response, next: Next) {
handleServiceErrors(error: Error, req: Request, res: Response, next: NextFunction) {
if (error instanceof ServiceError) {
if (error.errorType === 'SALE_RECEIPT_NOT_FOUND') {
return res.boom.badRequest(null, {