feat: add current mode rank to small image

This commit is contained in:
2025-07-08 17:45:08 +02:00
parent d6623891bb
commit 376ee1e648
4 changed files with 50 additions and 36 deletions

View File

@@ -59,12 +59,12 @@ export const ezppfarm = {
}
return request.data;
},
getUserInfo: async (userId: number) => {
getUserInfo: async (userId: number, scope: 'all' | 'info' | 'stats' = 'all') => {
const request = await betterFetch<EZPPUserInfoResponse>(`${API_ENDPOINT}v1/get_player_info`, {
timeout,
query: {
id: userId,
scope: 'all',
scope,
},
headers: {
'Content-Type': 'application/json',