mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-10 11:37:32 +08:00
[+] Add change name for maimai and refactor settings page
This commit is contained in:
@@ -299,7 +299,8 @@ export const GAME = {
|
||||
post(`/api/v2/game/${game}/user-summary`, { username }),
|
||||
ranking: (game: GameName): Promise<GenericRanking[]> =>
|
||||
post(`/api/v2/game/${game}/ranking`, { }),
|
||||
|
||||
changeName: (game: GameName, newName: string): Promise<{ newName: string }> =>
|
||||
post(`/api/v2/game/${game}/change-name`, { newName }),
|
||||
}
|
||||
|
||||
export const DATA = {
|
||||
|
||||
Reference in New Issue
Block a user