Downgrade TypeScript, remove hacks

This commit is contained in:
Eliot Partridge
2019-08-30 19:55:30 -05:00
parent 88d14fe645
commit fa0271c643
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -69,8 +69,8 @@ export async function updateAuthInfo(
}
if (Object.keys(changes).length > 0) {
Object.assign(auth, changes as IAuth);
await updateAuth(auth._id, changes as IAuth);
Object.assign(auth, changes);
await updateAuth(auth._id, changes);
}
}
@@ -102,5 +102,5 @@ async function verifyOrRestoreAuth(auth: IAuth, mergeAccount: string | undefined
}
Object.assign(auth, changes);
await updateAuth(auth._id, changes as IAuth);
await updateAuth(auth._id, changes);
}