Skip to content

Commit e65e618

Browse files
fix(docs): format sendEmailCampaign.md
1 parent a5f1a65 commit e65e618

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/references/web3mail/methods/sendEmailCampaign.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,16 @@ const result = await web3mail.sendEmailCampaign({
179179
});
180180

181181
console.log(`Created ${result.tasks.length} tasks`);
182-
result.tasks.forEach((task: { taskId: string; dealId: string; bulkIndex: number }, index: number) => {
183-
console.log(
184-
`Task ${index + 1}: ${task.taskId} (Deal: ${task.dealId}, Bulk Index: ${task.bulkIndex})`
185-
);
186-
});
182+
result.tasks.forEach(
183+
(
184+
task: { taskId: string; dealId: string; bulkIndex: number },
185+
index: number
186+
) => {
187+
console.log(
188+
`Task ${index + 1}: ${task.taskId} (Deal: ${task.dealId}, Bulk Index: ${task.bulkIndex})`
189+
);
190+
}
191+
);
187192
```
188193

189194
## Complete Example

0 commit comments

Comments
 (0)