Config file - SyntaxError: Unexpected token :
Closed this issue · 1 comments
tpwatson commented
I have renamed the config file to config.js, and I've entered my API details but it seems like after each comma I'm getting a SyntaxError: Unexpected token.
Can't understand what the issue is.
{
baseUrl: '',
apiAuth: {
key: '', // KC-API-KEY
secret: '', // API-Secret
passphrase: '', // KC-API-PASSPHRASE
},
authVersion: 2, // KC-API-KEY-VERSION. Notice: for v2 API-KEY, not required for v1 version.
}
I've just entered my API details between the '' and tried using all the baseUrls suggested.
tpwatson commented
You can close this! I needed to add module.exports = to the very beginning