This commit is contained in:
bogap committed 2024-10-15 13:38:49 +03:00
1 parent 637939e9af
commit 4bf3d662ec
1 file changed
+1
@@ -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');