@dhyasama/totem-models 8.31.0 → 8.31.1

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.
Files changed (2) hide show
  1. package/lib/Financials.js +0 -12
  2. package/package.json +1 -1
package/lib/Financials.js CHANGED
@@ -311,10 +311,6 @@ module.exports = function(mongoose, config) {
311
311
 
312
312
  if(hasRecipients && hasUnsentSendOnLessThanNow) {
313
313
 
314
- var recipients = snapshot.notifications.company.sendTo.map(function(sendTo) {
315
- return sendTo.email;
316
- }).join(',');
317
-
318
314
  results.push({
319
315
  'snapshot': snapshot,
320
316
  'customer': snapsot.customer,
@@ -379,10 +375,6 @@ module.exports = function(mongoose, config) {
379
375
 
380
376
  if(hasRecipients && hasUnsentSendOnLessThanNow && ((!hasBeenSubmitted) || (hasBeenSubmitted && hasBeenRejected))) {
381
377
 
382
- var recipients = snapshot.notifications.company.sendTo.map(function(sendTo) {
383
- return sendTo.email;
384
- }).join(',');
385
-
386
378
  results.push({
387
379
  'snapshot': snapshot,
388
380
  'customer': snapsot.customer,
@@ -440,10 +432,6 @@ module.exports = function(mongoose, config) {
440
432
 
441
433
  if(hasRecipients && hasUnsentSendOnLessThanNow && hasBeenSubmitted && hasBeenRejected) {
442
434
 
443
- var recipients = snapshot.notifications.company.sendTo.map(function(sendTo) {
444
- return sendTo.email;
445
- }).join(',');
446
-
447
435
  results.push({
448
436
  'snapshot': snapshot,
449
437
  'customer': snapsot.customer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.31.0",
3
+ "version": "8.31.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",