Shoothed out variable nameing scheme

ref #6
This commit is contained in:
2020-12-18 19:19:47 +01:00
parent 6403e386ab
commit 1d54fb085b
3 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ export class RefreshAuth {
if (!found_user) {
throw new UserNotFoundError()
}
if (found_user.refreshTokenCount !== decoded["refreshtokencount"]) {
if (found_user.refreshTokenCount !== decoded["refreshTokenCount"]) {
throw new RefreshTokenCountInvalidError()
}
//Create the auth token