diff --git a/front/API.ts b/front/API.ts index 31f46f0..38876aa 100644 --- a/front/API.ts +++ b/front/API.ts @@ -779,25 +779,4 @@ export default class API { public static getPartitionSvgUrl(songId: number): string { return `${API.baseUrl}/song/${songId}/assets/partition`; } - - public static async updateUserTotalScore(score: number): Promise { - await API.fetch({ - route: `/auth/me/score/${score}`, - method: 'PATCH', - }); - } - - public static getTopTwentyPlayers(): Query { - return { - key: ['score'], - exec: () => - API.fetch( - { - route: '/scores/top/20', - method: 'GET', - }, - { handler: ListHandler(UserHandler) } - ), - }; - } }