chore: rename getUser to getUserProfile

This commit is contained in:
2025-12-06 07:56:58 -05:00
parent ad26cd6da3
commit 3508f3461b
3 changed files with 30 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ export async function getUser(aniListToken: string): Promise<User> {
let data;
try {
data = await stub.getUser(aniListToken);
data = await stub.getUserProfile(aniListToken);
} catch (e: any) {
if (e.message.includes("401")) {
return null;