mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-10 16:27:28 +08:00
[F] Fix no data when a user hasn't played maimai
This commit is contained in:
@@ -22,6 +22,7 @@ export const EN_REF_USER = {
|
||||
'UserHome.Game.Ongeki': "Ongeki",
|
||||
'UserHome.UnknownSong': "(unknown song)",
|
||||
'UserHome.Settings': 'Settings',
|
||||
'UserHome.NoValidGame': "The user hasn't played any game yet.",
|
||||
}
|
||||
|
||||
export const EN_REF_Welcome = {
|
||||
|
||||
@@ -24,6 +24,7 @@ const zhUser: typeof EN_REF_USER = {
|
||||
'UserHome.Game.Ongeki': "音击",
|
||||
'UserHome.UnknownSong': "(未知曲目)",
|
||||
'UserHome.Settings': '设置',
|
||||
'UserHome.NoValidGame': "用户还没有玩过游戏",
|
||||
}
|
||||
|
||||
const zhWelcome: typeof EN_REF_Welcome = {
|
||||
|
||||
@@ -135,6 +135,8 @@ export const CARD = {
|
||||
post('/api/v2/card/link', props),
|
||||
unlink: (cardId: string) =>
|
||||
post('/api/v2/card/unlink', { cardId }),
|
||||
userGames: (username: string): Promise<CardSummary> =>
|
||||
post('/api/v2/card/user-games', { username }),
|
||||
}
|
||||
|
||||
export const GAME = {
|
||||
|
||||
Reference in New Issue
Block a user