|
@@ -44,9 +44,9 @@ export class HttpExceptionFilter implements ExceptionFilter {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const apiResponse: ApiResponse<null> = {
|
|
const apiResponse: ApiResponse<null> = {
|
|
|
- success: false,
|
|
|
|
|
|
|
+ error: message,
|
|
|
|
|
+ status: 0,
|
|
|
code: this.mapStatusToCode(status),
|
|
code: this.mapStatusToCode(status),
|
|
|
- message,
|
|
|
|
|
data: null,
|
|
data: null,
|
|
|
timestamp: new Date().toISOString(),
|
|
timestamp: new Date().toISOString(),
|
|
|
};
|
|
};
|