IO-3166-Global-Notifications-Part-2: Fix typo in builder function name

This commit is contained in:
Dave Richer
2025-03-12 12:05:21 -04:00
parent 9ef8440e64
commit 87db292e5d
2 changed files with 4 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ const alternateTransportChangedBuilder = (data) => {
* @param data
* @returns {{app: {jobId, jobRoNumber: *, bodyShopId: *, key: string, body: string, variables: Object, recipients: *[]}, email: {jobId, jobRoNumber: *, bodyShopName: *, body: string, recipients: *[]}, fcm: {recipients: *[]}}}
*/
const billPostedHandler = (data) => {
const billPostedBuilder = (data) => {
const facing = data?.data?.isinhouse ? "in-house" : "vendor";
const body = `An ${facing} ${data?.data?.is_credit_memo ? "credit memo" : "bill"} has been posted.`.trim();
@@ -396,7 +396,7 @@ const supplementImportedBuilder = (data) => {
module.exports = {
alternateTransportChangedBuilder,
billPostedHandler,
billPostedBuilder,
criticalPartsStatusChangedBuilder,
intakeDeliveryChecklistCompletedBuilder,
jobAssignedToMeBuilder,