@yrpri/api 9.0.81 → 9.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,7 +40,7 @@ export class NotificationAgentQueueManager extends AgentQueueManager {
|
|
|
40
40
|
}
|
|
41
41
|
const currentWorkflowStep = updatedWorkflow?.steps[updatedWorkflow?.currentStepIndex];
|
|
42
42
|
// Send email notification
|
|
43
|
-
const subject = `${agentRun.Subscription?.Plan?.AgentProduct?.name} - ${currentWorkflowStep?.
|
|
43
|
+
const subject = `${agentRun.Subscription?.Plan?.AgentProduct?.name} - ${currentWorkflowStep?.shortName} ready`;
|
|
44
44
|
const content = `Next workflow step is ready: ${currentWorkflowStep?.description}`;
|
|
45
45
|
const bundleId = agentRun.Subscription?.Plan?.AgentProduct?.AgentBundles?.[0]?.id || 1;
|
|
46
46
|
await this.sendNotificationEmail(agent, subject, content, bundleId);
|
|
@@ -66,7 +66,6 @@ export class NotificationAgentQueueManager extends AgentQueueManager {
|
|
|
66
66
|
<div>
|
|
67
67
|
<h1>${subject}</h1>
|
|
68
68
|
<p>${content}</p>
|
|
69
|
-
${link ? `<p><a href="${link}">${link}</a></p>` : ""}
|
|
70
69
|
</div>
|
|
71
70
|
`;
|
|
72
71
|
const MAX_ADMIN_EMAILS = 25;
|