feat(account): implement initial skin loading in profile

This commit is contained in:
Mrixs committed 2025-06-17 14:49:19 +03:00
1 parent 8f4996fb2b
commit f9e0c068f4
4 files changed
+85 -4

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import apiClient from "./axios";
import type { SessionProfileResponse } from "@/types";
export const getUserProfile = (uuid: string) => {
// Этот эндпоинт не начинается с /api, поэтому указываем полный путь
return apiClient.get<SessionProfileResponse>(`/sessionserver/session/minecraft/profile/${uuid}`);
};