diff --git a/functions.php b/functions.php index d66d7fe..0da8e59 100644 --- a/functions.php +++ b/functions.php @@ -79,6 +79,8 @@ function backfillUserLogs($user) { $next = fetchAndStoreLogPage($pdo, $user, $url); $url = $next; } while ($next !== null); + + backfillRunningBalances($pdo, $user); } /** @@ -111,6 +113,8 @@ function syncUserLogs($user) { $next = fetchAndStoreLogPage($pdo, $user, $url); $url = $next; } while ($next !== null); + + backfillRunningBalances($pdo, $user); } /**