Skip to content

Commit

Permalink
Release 1.1.4 - User Email Reference Hotfix (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdconn00 authored Feb 22, 2024
1 parent 3d642b6 commit e2b2c29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helpers/controllerActivityHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const redisActivityCheckKey = "ACTIVITYCHECKRUNNING";
function registerControllerActivityChecking() {
try {
if (process.env.NODE_ENV === 'prod') {
cron.schedule('0 0 * * *', async () => {
cron.schedule('10 1 * * *', async () => {
// Lock the activity check to avoid multiple app instances trying to simulatenously run the check.
const lockRunningActivityCheck = await redisLock(redisActivityCheckKey);

Expand Down Expand Up @@ -122,7 +122,7 @@ async function checkControllerActivity() {
)

transporter.sendMail({
to: user.Email,
to: user.email,
from: {
name: "Albuquerque ARTCC",
address: '[email protected]'
Expand Down Expand Up @@ -167,7 +167,7 @@ async function checkControllersNeedingRemoval() {
)

transporter.sendMail({
to: user.Email,
to: user.email,
cc: '[email protected]',
from: {
name: "Albuquerque ARTCC",
Expand Down

0 comments on commit e2b2c29

Please sign in to comment.