mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
updating approval log syncing
This commit is contained in:
parent
ff2bfc67b2
commit
3a60a4bd91
1 changed files with 2 additions and 2 deletions
|
|
@ -86,8 +86,8 @@ export async function syncMeasureApprovalsToHubSpot(params: {
|
|||
? `All measures unapproved by ${params.actedByEmail} on ${dateStr}`
|
||||
: [
|
||||
`Approved measures (updated by ${params.actedByEmail} on ${dateStr}):`,
|
||||
...params.approvedMeasures.map((m) => `- ${m.measureName}`),
|
||||
].join("\n");
|
||||
...params.approvedMeasures.map((m) => `- ${m.measureName} (approved by ${m.approvedByEmail})`),
|
||||
].join("\r\n");
|
||||
|
||||
const maxAttempts = 3;
|
||||
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue