Skip to content

Commit 741fe33

Browse files
Merge pull request #2994 from kyrylchenko/patch-1
Fixed typo, added missing [ ] in ClientsModule.register
2 parents 4045cb0 + 77888f2 commit 741fe33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/microservices/custom-transport.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,10 @@ and then use it in the `ClientsModule` like so:
252252
@@filename(app.module)
253253
@Module({
254254
imports: [
255-
ClientsModule.register({
255+
ClientsModule.register([{
256256
name: 'CustomProxy',
257257
customClass: ErrorHandlingProxy,
258-
}),
258+
}]),
259259
]
260260
})
261261
export class AppModule

0 commit comments

Comments
 (0)