mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 21:55:52 +02:00
Update npm dependencies
This commit is contained in:
@@ -69,8 +69,8 @@ export async function updateAuthInfo(
|
||||
}
|
||||
|
||||
if (Object.keys(changes).length > 0) {
|
||||
Object.assign(auth, changes);
|
||||
await updateAuth(auth._id, changes);
|
||||
Object.assign(auth, changes as IAuth);
|
||||
await updateAuth(auth._id, changes as IAuth);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,5 +102,5 @@ async function verifyOrRestoreAuth(auth: IAuth, mergeAccount: string | undefined
|
||||
}
|
||||
|
||||
Object.assign(auth, changes);
|
||||
await updateAuth(auth._id, changes);
|
||||
await updateAuth(auth._id, changes as IAuth);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user