Deleting a running total from a challenge leaderboard
started a topic
6 months ago
I don't seem to be able to delete a player's running total from a challenge leaderboard.
This is what I do:
var leaderboard = Spark.getLeaderboards().getChallengeLeaderboard(challengeInstanceId);
The player's entry is successfully removed from the challenge leaderboard. However, the associated running total is not, even though the "deleteRunningTotals" parameter is set to true.
If I delete the running total manually from cloud code, everything behaves as I would expect.
How can I delete the running total via cloud code?