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');