more lint fixes

This commit is contained in:
Ulf Gebhardt 2021-10-02 17:19:33 +02:00
parent d78585309a
commit 2b113f841b
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -12,7 +12,8 @@ export class UserSettingRepository extends Repository<UserSetting> {
throw new Error("coinanimation value isn't boolean") throw new Error("coinanimation value isn't boolean")
} }
break break
default: throw new Error('key isn\'t defined: ' + key) default:
throw new Error("key isn't defined: " + key)
} }
let entity = await this.findOne({ userId: userId, key: key }) let entity = await this.findOne({ userId: userId, key: key })