feat(account): implement initial skin loading in profile
This commit is contained in:
1 parent
8f4996fb2b
commit
f9e0c068f4
4 files changed
+85
-4
No files matched your search
@@ -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}`);
|
||||
};
|
||||
Reference in new issue
Block a user