a
This commit is contained in:
parent
637939e9af
commit
4bf3d662ec
@ -3,6 +3,7 @@ const axios = require ('axios');
|
|||||||
const plantsRouter = express.Router ();
|
const plantsRouter = express.Router ();
|
||||||
const CONFIG = require ('./config');
|
const CONFIG = require ('./config');
|
||||||
|
|
||||||
|
|
||||||
async function getAccessToken () {
|
async function getAccessToken () {
|
||||||
const formData = new FormData ();
|
const formData = new FormData ();
|
||||||
formData.append ('grant_type', 'client_credentials');
|
formData.append ('grant_type', 'client_credentials');
|
||||||
|
Loading…
Reference in New Issue
Block a user