chore: UpdateStatistics overwrite defaults to false.

oneRain 2021-01-05 17:10:49 +08:00
parent d263de14b7
commit aec2a9409b
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ namespace LeanCloud.Storage {
public static async Task<ReadOnlyCollection<LCStatistic>> UpdateStatistics(LCUser user, public static async Task<ReadOnlyCollection<LCStatistic>> UpdateStatistics(LCUser user,
Dictionary<string, double> statistics, Dictionary<string, double> statistics,
bool overwrite = true) { bool overwrite = false) {
if (user == null) { if (user == null) {
throw new ArgumentNullException(nameof(user)); throw new ArgumentNullException(nameof(user));
} }