Skip to content

Commit 1bebe98

Browse files
committed
feature(microservices): use braces to divide route by scope
1 parent 9e45797 commit 1bebe98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/microservices/utils/msvc.util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class MsvcUtil {
3333
`${key}:${MsvcUtil.transformPatternToRoute(pattern[key])}`);
3434

3535
// Creates and returns the Route
36-
const sortedPattern = sortedPatternParams.join('/');
37-
return sortedPattern;
36+
const route = sortedPatternParams.join('/');
37+
return `{${route}}`;
3838
}
3939
}

0 commit comments

Comments
 (0)