major update
This commit is contained in:
@@ -13,6 +13,6 @@ export function getRankings() {
|
||||
|
||||
export function updateWeights(weights: Record<string, number>) {
|
||||
return apiClient
|
||||
.put<{ message: string }>('scores/weights', weights)
|
||||
.put<{ message: string }>('scores/weights', { weights })
|
||||
.then((r) => r.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user