mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
core: fix oauth id
This commit is contained in:
4 files changed
+15
-3
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user