Fix various ESLint errors in services

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-02-24 22:35:06 +01:00
parent 4d94739a9f
commit 1cc86a728a
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
4 changed files with 11 additions and 6 deletions

View file

@ -45,7 +45,7 @@ export class GroupsService {
*/
toGroupDto(group: Group | null | undefined): GroupInfoDto | null {
if (!group) {
this.logger.warn(`Recieved ${group} argument!`, 'toGroupDto');
this.logger.warn(`Recieved ${String(group)} argument!`, 'toGroupDto');
return null;
}
return {