Improve formatting for content display report emails

With the previous formatting the `:` could be appended
to the end of URLs.
This commit is contained in:
Jackson Harper 2022-07-11 11:06:15 -07:00
parent 563909b63d
commit 27e39b396d

View file

@ -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)