8 lines
269 B
TypeScript
8 lines
269 B
TypeScript
import { oapiClient, sendResponse } from '../../oapi-client'
|
|
|
|
export async function POST(req: Request) {
|
|
const body = req.body ? await req.json() : {}
|
|
const res = await oapiClient.post('/v1/super_agent/file_upload_record/create', body)
|
|
return sendResponse(res)
|
|
}
|