commit score on end of play

This commit is contained in:
danis
2023-10-08 21:53:58 +02:00
parent 0473665bb4
commit 06bfc181c7
4 changed files with 23 additions and 1 deletions
+7
View File
@@ -697,4 +697,11 @@ export default class API {
),
};
}
public static async updateUserTotalScore(score: number): Promise<void> {
await API.fetch({
route: `/auth/me/score/${score}`,
method: 'PATCH',
});
}
}