Skip to content

Commit 0e0c7b6

Browse files
authored
fix(core/providers/osu): Correct the type of OsuProfile.id (#10340)
Fix osu! provider types
1 parent 633b76f commit 0e0c7b6

File tree

1 file changed

+2
-2
lines changed
  • packages/core/src/providers

1 file changed

+2
-2
lines changed

packages/core/src/providers/osu.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface OsuUserCompact {
1414
avatar_url: string
1515
country_code: string
1616
default_group: string
17-
id: string
17+
id: number
1818
is_active: boolean
1919
is_bot: boolean
2020
is_deleted: boolean
@@ -127,7 +127,7 @@ export default function Osu<P extends OsuProfile>(
127127
userinfo: "https://osu.ppy.sh/api/v2/me",
128128
profile(profile) {
129129
return {
130-
id: profile.id,
130+
id: profile.id.toString(),
131131
email: null,
132132
name: profile.username,
133133
image: profile.avatar_url,

0 commit comments

Comments
 (0)