From 9d603dbf752cfe5335d2c89c4c785a23e8400e0e Mon Sep 17 00:00:00 2001 From: "Marc J. Schmidt" Date: Thu, 9 Nov 2023 10:01:34 +0100 Subject: [PATCH] fix(rpc): correctly load controller name --- packages/rpc/src/decorators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rpc/src/decorators.ts b/packages/rpc/src/decorators.ts index 173ba91ad..57934dffe 100644 --- a/packages/rpc/src/decorators.ts +++ b/packages/rpc/src/decorators.ts @@ -59,7 +59,7 @@ class RpcClass { } onDecorator(classType: ClassType) { - this.t.name ??= reflect(classType).typeName || classType.name; + this.t.name ||= reflect(classType).typeName || classType.name; } }