Fix type and lint errors after upgrading corresponding dependencies

This commit is contained in:
ErickSkrauch
2021-07-13 22:40:31 +02:00
parent 404fcb804a
commit 12f5e711c4
18 changed files with 151 additions and 159 deletions

View File

@@ -41,11 +41,11 @@ export function authenticate(
}
try {
const { token: newToken, refreshToken: newRefreshToken, user } = await validateToken(
accountId,
token,
refreshToken,
);
const {
token: newToken,
refreshToken: newRefreshToken,
user,
} = await validateToken(accountId, token, refreshToken);
const newAccount: Account = {
id: user.id,
username: user.username,