Open cavoom opened 6 years ago
This is a great module - thank you. I notice that some of my apps (Alexa Skills) have trouble with the require format:
var mLab = require('mongolab-data-api')('yourKeyHere')
Is there a way to hardcode my API Key into the code somewhere and change the require to
var mLab = require('mongolab-data-api')
Thank you!
You could just rewrite the module so that your api key is hardcoded in. But that won't work in the long term if you choose to deploy your 'Alexa Skills' apps. I hope this helps
This is a great module - thank you. I notice that some of my apps (Alexa Skills) have trouble with the require format:
var mLab = require('mongolab-data-api')('yourKeyHere')
Is there a way to hardcode my API Key into the code somewhere and change the require to
var mLab = require('mongolab-data-api')
Thank you!