File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
AVOS/Sources/Foundation/Leaderboard Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,14 +128,14 @@ + (void)deleteCurrentUserStatistics:(NSArray<NSString *> *)statisticNames
128128 if (![LCUser currentUser ].sessionToken ) {
129129 NSError *error = LCError (LCErrorInternalErrorCodeInconsistency, @" Please login first." , nil );
130130 dispatch_async (dispatch_get_main_queue (), ^{
131- callback (nil , error);
131+ callback (false , error);
132132 });
133133 return ;
134134 }
135135 if (!statisticNames || statisticNames.count == 0 ) {
136136 NSError *error = LCError (LCErrorInternalErrorCodeInconsistency, @" Parameter `statisticNames` invalid." , nil );
137137 dispatch_async (dispatch_get_main_queue (), ^{
138- callback (nil , error);
138+ callback (false , error);
139139 });
140140 return ;
141141 }
You can’t perform that action at this time.
0 commit comments