From da4231c75444309f6486a167efbed327a53a0adf Mon Sep 17 00:00:00 2001 From: Max Tyson <98maxt98@gmail.com> Date: Wed, 25 Oct 2023 22:23:04 +1300 Subject: [PATCH] Import From Tables --- website/src/pages/api/plants/json.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/api/plants/json.ts b/website/src/pages/api/plants/json.ts index 184fa10..9b0dff2 100644 --- a/website/src/pages/api/plants/json.ts +++ b/website/src/pages/api/plants/json.ts @@ -146,7 +146,7 @@ export default async function handler( let plantData = convertTableDataToPlantData(spreadSheetJSON.data) plantData = macronsForDisplay(plantData); - return response.status(200).json({ data: plantData }); + return response.status(200).json({ data: plantData, apiData: spreadSheetJSON.data }); default: // If the operation is not found, return an error