Skip to content

Commit

Permalink
feat(nats-streaming): add global property to the common nats-streamin…
Browse files Browse the repository at this point in the history
…g module
  • Loading branch information
jo-adithya committed Jan 2, 2024
1 parent b339ffa commit f2e84bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/server/nats-streaming/src/lib/nats-streaming.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class NatsStreamingModule {
};

return {
global: true,
module: NatsStreamingModule,
providers: [clientProvider],
exports: [clientProvider],
Expand All @@ -42,6 +43,7 @@ export class NatsStreamingModule {
};

return {
global: true,
module: NatsStreamingModule,
providers: [asyncOptionsProvider, clientProvider],
imports: options.imports,
Expand Down

0 comments on commit f2e84bd

Please sign in to comment.