File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class ApiMailAdapter extends MailAdapter {
3030
3131 // Ensure API callback is set
3232 if ( typeof apiCallback !== 'function' ) {
33- throw Errors . Error . apiClientCallbackNoFuncion ;
33+ throw Errors . Error . apiCallbackNoFunction ;
3434 }
3535
3636 // Initialize
@@ -311,7 +311,7 @@ class ApiMailAdapter extends MailAdapter {
311311 * @description Loads a file's content.
312312 * @param {String } path The file path.
313313 * @param {String } locale The locale if a localized version of the file should be
314- * loaded if available, or `undefined` if no localiziation should occur.
314+ * loaded if available, or `undefined` if no localization should occur.
315315 * @returns {Promise<Buffer> } The file content.
316316 */
317317 async _loadFile ( path , locale ) {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Errors extends Error {
1616 configurationInvalid : new Error ( 'ApiMailAdapter: configuration is missing or invalid.' ) ,
1717 templatesInvalid : new Error ( 'ApiMailAdapter: templates are missing or invalid.' ) ,
1818 templateContentPathInvalid : new Error ( 'ApiMailAdapter: template content path is invalid.' ) ,
19- apiCallbackNoFuncion : new Error ( 'ApiMailAdapter: API callback is not a function.' ) ,
19+ apiCallbackNoFunction : new Error ( 'ApiMailAdapter: API callback is not a function.' ) ,
2020 templateCallbackNoFunction : new Error ( 'ApiMailAdapter: placeholder callback is not a function.' ) ,
2121 localeCallbackNoFunction : new Error ( 'ApiMailAdapter: locale callback is not a function.' ) ,
2222 templateConfigurationNoName : new Error ( 'ApiMailAdapter: template name is missing.' ) ,
You can’t perform that action at this time.
0 commit comments