This commit is contained in:
bogap 2024-10-15 13:38:49 +03:00
parent 637939e9af
commit 4bf3d662ec

View File

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