feature/child_mode_2 #158

Merged
Fujimatsu merged 23 commits from feature/child_mode_2 into main 2024-07-08 19:55:27 +00:00
Showing only changes of commit 22f6f48bb1 - Show all commits

View File

@ -29,7 +29,7 @@ public class RewardDataImpl implements RewardData {
}
@Override
public CompletableFuture<Integer> getTotalReward(String childId) {
public CompletableFuture<Integer> getTotalReward(String childId) { // TODO: localCacheを使う
return CompletableFuture.supplyAsync(() -> ksActions.syncHistory(childId).join().stream().mapToInt(HistoryModel::getReward).sum());
}
}