Skip to content

Commit

Permalink
fix code that broke deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahqaisar authored and geromegrignon committed Oct 26, 2023
1 parent 15330a9 commit eb437b6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/api/src/app/models/http-exception.model.ts
Original file line number Diff line number Diff line change
@@ -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;
}
Expand Down

0 comments on commit eb437b6

Please sign in to comment.