From eb437b6cf7d030dbc13c8064ddbcbb1a55043b87 Mon Sep 17 00:00:00 2001 From: Abdullah Qaisar Date: Thu, 26 Oct 2023 18:09:36 +0500 Subject: [PATCH] fix code that broke deployment --- apps/api/src/app/models/http-exception.model.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/api/src/app/models/http-exception.model.ts b/apps/api/src/app/models/http-exception.model.ts index 59238501a..2583b5c7b 100644 --- a/apps/api/src/app/models/http-exception.model.ts +++ b/apps/api/src/app/models/http-exception.model.ts @@ -1,10 +1,9 @@ class HttpException extends Error { errorCode: number; - constructor( errorCode: number, - public readonly message: string, - ) { + public readonly message: string | any + ) { super(message); this.errorCode = errorCode; }