@tamu-dor/famis-db 2.0.4 → 2.0.5
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1441,7 +1441,7 @@ class FAMISDb {
|
|
|
1441
1441
|
.select(
|
|
1442
1442
|
'core_accounts.coreId',
|
|
1443
1443
|
'core_accounts.account',
|
|
1444
|
-
'core_accounts.
|
|
1444
|
+
'core_accounts.active',
|
|
1445
1445
|
)
|
|
1446
1446
|
.where({active: true})
|
|
1447
1447
|
.as("core_accounts");
|
|
@@ -1463,7 +1463,7 @@ class FAMISDb {
|
|
|
1463
1463
|
'cores.invoice_email'
|
|
1464
1464
|
)
|
|
1465
1465
|
.join(accounts, 'cores.id', '=', 'core_accounts.coreId')
|
|
1466
|
-
.where(
|
|
1466
|
+
.where({enabled: true})
|
|
1467
1467
|
.orderBy('cores.id', 'desc');
|
|
1468
1468
|
if (records.length) {
|
|
1469
1469
|
retVal = records;
|