import { ApiCall } from "tsrpc";
import { ReqGetLog, ResGetLog } from "../../../shared/protocols/hbzb/jfs/PtlGetLog";

export default async function (call: ApiCall<ReqGetLog, ResGetLog>) {
    call.succ((await G.clientCross.callApi('hbzb/jfs/GetLog', { uid: call.uid })).res || []);
}