Merge pull request #969 from omnivore-app/fix/report-formatting

Remove extra quote from report string
This commit is contained in:
Jackson Harper 2022-07-15 10:39:34 -07:00 committed by GitHub
commit 764f849bc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ 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.userId} for URL: ${report.originalUrl}
${report.reportComment}`
console.log(message)