fix linting

This commit is contained in:
einhornimmond 2021-10-06 12:35:25 +02:00
parent a531b4671f
commit a5bb75f702
2 changed files with 4 additions and 4 deletions

View File

@ -193,10 +193,10 @@ export class UserResolver {
passwordNew ||
password
) {
const result = await apiPost(CONFIG.LOGIN_API_URL + 'updateUserInfos', payload)
if (!result.success) throw new Error(result.data)
const result = await apiPost(CONFIG.LOGIN_API_URL + 'updateUserInfos', payload)
if (!result.success) throw new Error(result.data)
response = new UpdateUserInfosResponse(result.data)
}
}
if (coinanimation !== undefined) {
// load user and balance
const userRepository = getCustomRepository(UserRepository)