Jan-Bart / MMM-NMBS-Connection

Display upcoming trains between 2 NMBS/SNCB stations (Belgium)
GNU General Public License v3.0
1 stars 2 forks source link

error in config file #2

Closed bdvrieze closed 6 years ago

bdvrieze commented 6 years ago

Hi

First of all, thanks a lot. If someone would do the same for the De Lijn API ;-)

But...

I get config.js errors with the standard example...

When I add

{ module: "MMM-NMBS-Connection", position: "bottom_left", config: { from: "Antwerp-Central" to: "Brussels-South", results: 3 } },

in VS Code I already get this:

image image

When I use your exact code in MMM, I get the same error.

Is it me or...?

Jan-Bart commented 6 years ago

It's not you, it's me. I'm missing a ,

It's fixed in the readme now. Thanks for letting me know! :)

bdvrieze commented 6 years ago

Comment deleted. I installed in Magic Mirror Root folder. I'm an idiot. But I did get one catch though :)

Jan-Bart commented 6 years ago

😄 Yes, you did. Thx! :)