@openneuro/server 4.4.0-alpha.2 → 4.4.0-alpha.3

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": "@openneuro/server",
3
- "version": "4.4.0-alpha.2",
3
+ "version": "4.4.0-alpha.3",
4
4
  "description": "Core service for the OpenNeuro platform.",
5
5
  "license": "MIT",
6
6
  "main": "src/server.js",
@@ -105,5 +105,5 @@
105
105
  "publishConfig": {
106
106
  "access": "public"
107
107
  },
108
- "gitHead": "69aec829ed581c71c46bb4bdb3561f669e619f4e"
108
+ "gitHead": "cb9355079436f8cda06e05fa6e53d9bac97420e1"
109
109
  }
package/src/config.js CHANGED
@@ -46,6 +46,7 @@ const config = {
46
46
  user: process.env.CRN_SERVER_MAIL_USER,
47
47
  url: process.env.CRN_SERVER_MAIL_URL,
48
48
  pass: process.env.CRN_SERVER_MAIL_PASS,
49
+ from: process.env.CRN_SERVER_MAIL_FROM,
49
50
  },
50
51
  },
51
52
  sentry: {
@@ -371,6 +371,7 @@ const notifications = {
371
371
  type: 'email',
372
372
  email: {
373
373
  to: user.email,
374
+ from: config.notifications.email.from,
374
375
  subject: `Dataset Import ${success ? 'Success' : 'Failed'}`,
375
376
  html: html,
376
377
  },