From 4bf3d662ec07cd712deb3467ab6cbdd03b354aa4 Mon Sep 17 00:00:00 2001 From: bogap <58374268+bogap@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:38:49 +0300 Subject: [PATCH] a --- server/routers/epja-2024-1/ecliptica/plants/getPlants.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/routers/epja-2024-1/ecliptica/plants/getPlants.js b/server/routers/epja-2024-1/ecliptica/plants/getPlants.js index 508fd01..c99cb9f 100644 --- a/server/routers/epja-2024-1/ecliptica/plants/getPlants.js +++ b/server/routers/epja-2024-1/ecliptica/plants/getPlants.js @@ -3,6 +3,7 @@ const axios = require ('axios'); const plantsRouter = express.Router (); const CONFIG = require ('./config'); + async function getAccessToken () { const formData = new FormData (); formData.append ('grant_type', 'client_credentials');