Fixed Email Router naming in docs and debug call

- this was likely copied and pasted from the preview router but we
  forgot to change the name
This commit is contained in:
Daniel Lockyer 2022-04-26 13:03:17 +01:00
parent 4edec18289
commit 5e020f1a8f
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

View File

@ -3,11 +3,11 @@ const urlUtils = require('../../../shared/url-utils');
const controllers = require('./controllers');
/**
* @description Preview Router.
* @description Email Router.
*/
class EmailRouter extends ParentRouter {
constructor(RESOURCE_CONFIG) {
super('PreviewRouter');
super('EmailRouter');
this.RESOURCE_CONFIG = RESOURCE_CONFIG.QUERY.email;