Browse Source

docs(email-plugin): Fix EmailPlugin example code

Michael Bromley 5 years ago
parent
commit
1cdd537aa5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/email-plugin/src/plugin.ts

+ 1 - 1
packages/email-plugin/src/plugin.ts

@@ -51,7 +51,7 @@ import {
  * const config: VendureConfig = {
  *   // Add an instance of the plugin to the plugins array
  *   plugins: [
- *     new EmailPlugin({
+ *     EmailPlugin.init({
  *       handlers: defaultEmailHandlers,
  *       templatePath: path.join(__dirname, 'vendure/email/templates'),
  *       transport: {