Skip to content

Commit

Permalink
fix(rpc): correctly load controller name
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj committed Nov 9, 2023
1 parent 0691e1e commit 9d603db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rpc/src/decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 9d603db

Please sign in to comment.