chore: add new service to add subs to danak services in array

This commit is contained in:
mahyargdz
2025-02-13 13:27:21 +03:30
parent 95b9c38031
commit caa968ab4a
24 changed files with 317 additions and 98 deletions
-1
View File
@@ -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];
}