fix(api): trim trailing space if no reporter name (#52199)

This commit is contained in:
Oliver Eyton-Williams
2023-11-03 16:38:19 +01:00
committed by GitHub
parent d4e65df8b0
commit 3940eddbbb
2 changed files with 8 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ ${reportDesc}
Reported by:
Username: ${reporter.username}
Name: ${reporter.name ?? ''}
Name:${reporter.name ? ' ' + reporter.name : ''}
Email: ${reporter.email}
Thanks and regards,