quer / the-steam-awards

Steam multi account module/event (get updates when event for steam)
95 stars 13 forks source link

SyntaxError: Unexpected identifier API key #26

Closed stickerx closed 2 years ago

stickerx commented 2 years ago

I placed API key for each account in config.js

quer commented 2 years ago

i think you did not read the last part of my comment on https://github.com/quer/the-steam-awards/discussions/17

Where you need to remeber to add the "," at the end of the line above it.

quer commented 2 years ago

remove ","

stickerx commented 2 years ago

where should add the ","

quer commented 2 years ago

in the call stack on the image you send, you can see it die's in "config.js"

where you line "apikey" need the , on the line above.

config.push({
    steam_user: "**",
    steam_pass: "**",
    sharedSecret: "**",
        apiKey: "**"
});

above is how it shoud be, see the , at the end of the sharedSecret line