mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #942 from omnivore-app/display-report-formatting
Improve formatting for content display report emails
This commit is contained in:
commit
3baa845853
1 changed files with 3 additions and 1 deletions
|
|
@ -19,7 +19,9 @@ export class ContentDisplayReportSubscriber
|
|||
|
||||
async afterInsert(event: InsertEvent<ContentDisplayReport>): Promise<void> {
|
||||
const report = event.entity
|
||||
const message = `A new content display report was created by ${report.userId} for URL': ${report.originalUrl}: ${report.reportComment}`
|
||||
const message = `A new content display report was created by:
|
||||
${report.userId} for URL': ${report.originalUrl}
|
||||
${report.reportComment}`
|
||||
|
||||
console.log(message)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue