rename to pull

This commit is contained in:
arc-alex
2023-11-18 21:17:44 +01:00
parent fe67e65a95
commit b77db4cbf6
2 changed files with 3 additions and 2 deletions
@@ -398,7 +398,7 @@ export async function previewExcel(req, res) {
*/
export async function previewSheet(req, res) {
try {
const data = await Sheet.parse(req.body.sheetid, req.body.worksheet);
const data = await Sheet.pull(req.body.sheetid, req.body.worksheet);
res.status(200).send(data);
} catch (error) {
res.status(500).send({ message: error.toString() });