chore: rename getUser to getUserProfile
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user