Skip to content

Commit

Permalink
fix(): fixed incorrect module call in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
juandav committed Feb 26, 2020
1 parent 2daf360 commit 5d37026
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Import the MailerModule into the root AppModule.
```javascript
//app.module.ts
import { Module } from '@nestjs/common';
import { HandlebarsAdapter, MailerModule } from '@nest-modules/mailer';
import { HandlebarsAdapter, MailerModule } from '@nestjs-modules/mailer';

@Module({
imports: [
Expand All @@ -54,7 +54,7 @@ Of course, it is possible to use an async configuration:
```typescript
//app.module.ts
import { Module } from '@nestjs/common';
import { HandlebarsAdapter, MailerModule } from '@nest-modules/mailer';
import { HandlebarsAdapter, MailerModule } from '@nestjs-modules/mailer';

@Module({
imports: [
Expand Down Expand Up @@ -82,7 +82,7 @@ Afterwards, MailerService will be available to inject across entire project (wit

```typescript
import { Injectable } from '@nestjs/common';
import { MailerService } from '@nest-modules/mailer';
import { MailerService } from '@nestjs-modules/mailer';

@Injectable()
export class ExampleService {
Expand All @@ -96,7 +96,7 @@ MailerProvider exports the `sendMail()` function to which you can pass the messa

```typescript
import { Injectable } from '@nestjs/common';
import { MailerService } from '@nest-modules/mailer';
import { MailerService } from '@nestjs-modules/mailer';

@Injectable()
export class ExampleService {
Expand Down Expand Up @@ -158,7 +158,7 @@ enable handlebars partials
import * as path from 'path';
import { Module } from '@nestjs/common';
import { BullModule } from 'nest-bull';
import { MailerModule, HandlebarsAdapter } from '@nest-modules/mailer';
import { MailerModule, HandlebarsAdapter } from '@nestjs-modules/mailer';
import { mailBullConfig } from '../../config/mail';
import { MailService } from './mail.service';
import { MailController } from './mail.controller';
Expand Down

0 comments on commit 5d37026

Please sign in to comment.