<?php
require_once __DIR__.'/../../_bootstrap.php';require_once ROOT_PATH.'/includes/match_functions.php';$u=afApiOuSessaoUsuario($pdo,'battle_hub');jsonResponse(['ok'=>true,'batalhas'=>afListarBatalhasUsuario($pdo,(int)$u['id'],50)]);
