import { ApiCall } from "tsrpc";
import { ReqGetLog, ResGetLog } from "../../../cross/protocols/hbzb/jfs/PtlGetLog";
import { FightFun } from '../../../public/fight';

export default async function (call: ApiCall<ReqGetLog, ResGetLog>) {
    call.succ(await FightFun.readLog(call.req.uid, 'hbzbJfs'));
}