chore: add new service to add subs to danak services in array
This commit is contained in:
@@ -27,7 +27,6 @@ export class HttpExceptionFilter implements ExceptionFilter {
|
||||
if (typeof response === "string") {
|
||||
return [response];
|
||||
}
|
||||
|
||||
if (typeof response === "object" && "message" in response) {
|
||||
return Array.isArray(response.message) ? response.message : [response.message];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user