mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
12 lines
327 B
TypeScript
12 lines
327 B
TypeScript
import { TimerInterface } from '@standardnotes/time'
|
|
|
|
import { html } from './daily-analytics-report.html'
|
|
|
|
export function getSubject(): string {
|
|
return `Daily analytics report ${new Date().toLocaleDateString('en-US')}`
|
|
}
|
|
|
|
export function getBody(data: unknown, timer: TimerInterface): string {
|
|
return html(data, timer)
|
|
}
|