fix: result report email
This commit is contained in:
parent
9d33625198
commit
9900113e33
|
|
@ -628,7 +628,7 @@ The System`,
|
||||||
<li><strong>%d Events Processed</strong></li>
|
<li><strong>%d Events Processed</strong></li>
|
||||||
<li><strong>%d Total Bets</strong></li>
|
<li><strong>%d Total Bets</strong></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><strong>Next Steps:</strong><br>Some events require your attention. Please <a href="https://your-dashboard-url.example">log into the admin dashboard</a> to review pending issues.</p>
|
<p><strong>Next Steps:</strong><br>Some events require your attention. Please <a href="https://admin.fortunebets.net">log into the admin dashboard</a> to review pending issues.</p>
|
||||||
<p>Best regards,<br>The System</p>`,
|
<p>Best regards,<br>The System</p>`,
|
||||||
greeting,
|
greeting,
|
||||||
strings.Join(partsHTML, "\n"),
|
strings.Join(partsHTML, "\n"),
|
||||||
|
|
@ -639,7 +639,6 @@ The System`,
|
||||||
return headline, plain, html
|
return headline, plain, html
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (s *Service) SendAdminResultStatusErrorNotification(
|
func (s *Service) SendAdminResultStatusErrorNotification(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
counts domain.ResultLog,
|
counts domain.ResultLog,
|
||||||
|
|
@ -661,7 +660,6 @@ func (s *Service) SendAdminResultStatusErrorNotification(
|
||||||
|
|
||||||
headline, message := buildHeadlineAndMessage(counts)
|
headline, message := buildHeadlineAndMessage(counts)
|
||||||
|
|
||||||
|
|
||||||
notification := &domain.Notification{
|
notification := &domain.Notification{
|
||||||
ErrorSeverity: domain.NotificationErrorSeverityHigh,
|
ErrorSeverity: domain.NotificationErrorSeverityHigh,
|
||||||
DeliveryStatus: domain.DeliveryStatusPending,
|
DeliveryStatus: domain.DeliveryStatusPending,
|
||||||
|
|
|
||||||
2
makefile
2
makefile
|
|
@ -79,7 +79,7 @@ logs:
|
||||||
@mkdir -p logs
|
@mkdir -p logs
|
||||||
db-up: | logs
|
db-up: | logs
|
||||||
@mkdir -p logs
|
@mkdir -p logs
|
||||||
@docker compose up -d postgres migrate mongo redis --wait migrate
|
@docker compose up -d postgres migrate mongo redis
|
||||||
@docker logs fortunebet-backend-postgres-1 > logs/postgres.log 2>&1 &
|
@docker logs fortunebet-backend-postgres-1 > logs/postgres.log 2>&1 &
|
||||||
.PHONY: db-down
|
.PHONY: db-down
|
||||||
db-down:
|
db-down:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user