[+] Show aqua net pfp instead of in-game pfp

This commit is contained in:
Azalea
2024-03-06 00:37:35 -05:00
parent 2a10471e0b
commit 52ec890e2c
9 changed files with 22 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ import type {
GenericGameSummary,
GenericRanking,
TrendEntry,
UserMe
AquaNetUser
} from "./generalTypes";
import type { GameName } from "./scoring";
@@ -111,7 +111,7 @@ export const USER = {
login,
confirmEmail: (token: string) =>
post('/api/v2/user/confirm-email', { token }),
me: (): Promise<UserMe> => {
me: (): Promise<AquaNetUser> => {
ensureLoggedIn()
return post('/api/v2/user/me', {})
},