We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/stats/user/:userId
1 parent 259aaf1 commit 71af812Copy full SHA for 71af812
src/stats/user.ts
@@ -5,7 +5,7 @@ export type KOCUser = {
5
/**
6
* The User Id
7
*/
8
- id: number;
+ id: string;
9
10
* The username of the account associated.
11
@@ -32,6 +32,6 @@ export type KOCUser = {
32
*
33
* @returns The users information.
34
35
-export function getUser(baseUrl: string, userId: number) {
+export function getUser(baseUrl: string, userId: string) {
36
return axios.get<KOCUser>(`${baseUrl}/stats/user/${userId}`);
37
}
0 commit comments