👌 IMPROVE: Account fetch

This commit is contained in:
Austin Ginder 2024-05-05 07:28:19 -04:00
parent ddf0144d0d
commit c7316ae2e1

View file

@ -2713,6 +2713,7 @@ HEREDOC;
if ( $cmd == 'fetchAccount' ) {
$account = new CaptainCore\Account( $value );
$account->calculate_usage();
$account->calculate_totals();
echo json_encode( $account->fetch() );
}
if ( $cmd == 'fetchUser' ) {