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

@ -39,4 +39,4 @@ export class BalanceResolver {
decay_date: now.toString(), decay_date: now.toString(),
}) })
} }
} }

View File

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