Remove debug logs

This commit is contained in:
Cha
2025-06-17 18:30:04 +08:00
parent 02b9c9d447
commit 5b8b1c78da
2 changed files with 0 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ import { CreateSocialUserParams } from './types';
* @throws {Error} Throws an error if there's an issue saving the updated user object.
*/
const handleExistingUser = async (oldUser: IUser, avatarUrl: string) => {
console.log(1111);
const fileStrategy = process.env.CDN_PROVIDER ?? FileSources.local;
const isLocal = fileStrategy === FileSources.local;

View File

@@ -28,7 +28,6 @@ export function socialLogin(
const ALLOW_SOCIAL_REGISTRATION = isEnabled(process.env.ALLOW_SOCIAL_REGISTRATION ?? '');
if (oldUser) {
console.log('1', oldUser);
await handleExistingUser(oldUser, avatarUrl ?? '');
return cb(null, oldUser);
}