Skip to content

code not working #3

@arorasahil1234

Description

@arorasahil1234

Thank you so much for your input ,I have done the below changes :-

var oauth2 = require('simple-oauth2').create(credentials);
{
clientID: CLIENT_ID,
clientSecret: CLIENT_SECRET,
site: 'https://graph.api.smartthings.com'
}

Below error I am facing :-
clientSecret: CLIENT_SECRET,
^

SyntaxError: Unexpected token :
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3

Please help me out here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions