mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
Fix various ESLint errors in services
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
f20c2f06e0
commit
cc1ca69bc1
4 changed files with 11 additions and 6 deletions
|
@ -56,7 +56,7 @@ export class UsersService {
|
|||
|
||||
toUserDto(user: User | null | undefined): UserInfoDto | null {
|
||||
if (!user) {
|
||||
this.logger.warn(`Recieved ${user} argument!`, 'toUserDto');
|
||||
this.logger.warn(`Recieved ${String(user)} argument!`, 'toUserDto');
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue