Skip to content

Commit a33bca7

Browse files
committed
docs(leaderboard): docs options.overwrite of #updateStatistics
1 parent 56e8059 commit a33bca7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/leaderboard.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ AV.Leaderboard.getStatistics = (user, { statisticNames } = {}, authOptions) =>
184184
* Update Statistics for the specified user.
185185
* @param {AV.User} user The specified AV.User pointer.
186186
* @param {Object} statistics A name-value pair representing the statistics to update.
187-
* @param {AuthOptions} [options]
187+
* @param {AuthOptions} [options] AuthOptions plus:
188+
* @param {boolean} [options.overwrite] Wethere to overwrite these statistics disregarding the updateStrategy of there leaderboards
188189
* @return {Promise<Statistic[]>}
189190
*/
190191
AV.Leaderboard.updateStatistics = (user, statistics, options = {}) =>

0 commit comments

Comments
 (0)