tango-app-api-client 3.0.47-dev → 3.0.48-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tango-app-api-client",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.48-dev",
|
|
4
4
|
"description": "client",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"mongodb": "^6.3.0",
|
|
26
26
|
"nodemon": "^3.0.3",
|
|
27
27
|
"swagger-ui-express": "^5.0.0",
|
|
28
|
-
"tango-api-schema": "^2.0.
|
|
29
|
-
"tango-app-api-middleware": "^1.
|
|
28
|
+
"tango-api-schema": "^2.0.108",
|
|
29
|
+
"tango-app-api-middleware": "^3.1.12",
|
|
30
30
|
"winston": "^3.11.0",
|
|
31
31
|
"winston-daily-rotate-file": "^5.0.0"
|
|
32
32
|
},
|
|
@@ -273,7 +273,7 @@ export const sendEmail = ( data ) => {
|
|
|
273
273
|
const subject = data.subject;
|
|
274
274
|
const fileContent = readFileSync( join() + data.path, 'utf8' );
|
|
275
275
|
const htmlContent = handlebars.compile( fileContent );
|
|
276
|
-
const html = htmlContent( { url: appConfig.url.store, logo: `${appConfig.url.
|
|
276
|
+
const html = htmlContent( { url: appConfig.url.store, logo: `${appConfig.url.apiDomain}/logo.png` } );
|
|
277
277
|
return sendEmailWithSES( data.email, subject, html, attachments, appConfig.cloud.aws.ses.adminEmail );
|
|
278
278
|
} catch ( error ) {
|
|
279
279
|
return error;
|