You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generateAlertEmailContent function in src/auth-service/bin/jobs/air-quality-alerts-job.js expects three parameters: spikes, userName, and preferences. However, in the current implementation, only two arguments are being passed when calling this function, which could lead to runtime errors when the function tries to access the preferences parameter.
Issue Description
The
generateAlertEmailContent
function insrc/auth-service/bin/jobs/air-quality-alerts-job.js
expects three parameters:spikes
,userName
, andpreferences
. However, in the current implementation, only two arguments are being passed when calling this function, which could lead to runtime errors when the function tries to access thepreferences
parameter.Current Implementation
Expected Implementation
Impact
References
The text was updated successfully, but these errors were encountered: