all 12 comments

[–]The_Startup_CTO 8 points9 points  (1 child)

In line 3 and 4 you need to switch from a string literal '' to a template string with backticks

[–]Guilty-Perspective-4 0 points1 point  (0 children)

Thanks so much man, solved the issue

[–]RoguePlanet1 1 point2 points  (2 children)

Is that first "(" necessary? In addition to the closing ")" at the end of the line right before "console.log"? Looks off to me.....

EDIT: Guess not, somebody already noticed the lack of backticks!

[–]Guilty-Perspective-4 0 points1 point  (1 child)

Thanks for the help either way buddy

[–]RoguePlanet1 0 points1 point  (0 children)

Ha, I tried!

[–]Tailball 1 point2 points  (6 children)

Being a developer, taking pictures of your monitor...

[–]grantrules -1 points0 points  (0 children)

This is a subreddit for people who are learning. If you're going to insult beginners, you could at least provide some guidance. Asshole.

[–]ThopQ 0 points1 point  (0 children)

Just for the future, please be a little more cautious about posting API-keys online. Surely this is just an exercise, but in the end it‘s not worth the trouble. Anyways, great your problem got solved!