core: fix oauth id

This commit is contained in:
undefined committed 2025-04-29 12:04:04 +08:00
1 parent 401bb505c2
commit 0f7961d675
4 files changed
+15 -3

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ export default class TelegramService extends Service {
id, first_name, last_name, username, photo_url,
} = parsed;
const ret = {
_id: id,
_id: id.toString(),
email: `${id}@telegram.local`,
bio: '',
uname: [`${first_name} ${last_name}`, username, `telegram${id.toString()}`].filter((i) => i),