diff --git a/front/pages/api/v1/w/[wId]/spaces/[spaceId]/data_sources/[dsId]/tables/[tId]/rows/index.ts b/front/pages/api/v1/w/[wId]/spaces/[spaceId]/data_sources/[dsId]/tables/[tId]/rows/index.ts index 0dacf16fad17..0d3ff89fe73c 100644 --- a/front/pages/api/v1/w/[wId]/spaces/[spaceId]/data_sources/[dsId]/tables/[tId]/rows/index.ts +++ b/front/pages/api/v1/w/[wId]/spaces/[spaceId]/data_sources/[dsId]/tables/[tId]/rows/index.ts @@ -250,7 +250,7 @@ async function handler( return res.status(200).json({ rows: rowsList, offset, limit, total }); case "POST": - const r = await UpsertTableRowsRequestSchema.safeParse(req.query); + const r = await UpsertTableRowsRequestSchema.safeParse(req.body); if (r.error) { return apiError(req, res, {