7 lines
295 B
TypeScript
7 lines
295 B
TypeScript
import { ApiCall } from "tsrpc";
|
|
import { FightFun } from '../../public/fight';
|
|
import { ReqFightLog, ResFightLog } from "../../shared/protocols/jjc/PtlFightLog";
|
|
|
|
export default async function (call: ApiCall<ReqFightLog, ResFightLog>) {
|
|
call.succ(await FightFun.readLog(call.uid, 'jjc'));
|
|
} |