codetheweb / MMM-AnyList

Magic Mirror module to display AnyList data
11 stars 5 forks source link

Improvement : Whish I could ad a second list #7

Closed MoRobo closed 4 years ago

MoRobo commented 4 years ago

It would be nice to have more than one list on display. May it be possible?

codetheweb commented 4 years ago

I believe you can already do this by adding this module to your config more than once in different locations.

MoRobo commented 4 years ago

Does not work: [2020-09-09 15:20:07.672] [ERROR] (node:4535) UnhandledPromiseRejectionWarning: GotError: Invalid value "undefined" for header "x-anyleaf-signed-user-id" at get (/home/pi/MagicMirror/modules/MMM-AnyList/node_modules/anylist/node_modules/got/dist/source/request-as-event-emitter.js:200:27) at ClientRequest.setHeader (_http_outgoing.js:458:3) at new ClientRequest (_http_client.js:221:14) at Object.request (https.js:309:10) at get (/home/pi/MagicMirror/modules/MMM-AnyList/node_modules/anylist/node_modules/got/dist/source/request-as-event-emitter.js:197:65) at async /home/pi/MagicMirror/modules/MMM-AnyList/node_modules/anylist/node_modules/got/dist/source/request-as-event-emitter.js:264:13 [2020-09-09 15:20:07.679] [ERROR] (node:4535) UnhandledPromiseRejectionWarning: GotError: Invalid value "undefined" for header "x-anyleaf-signed-user-id" at get (/home/pi/MagicMirror/modules/MMM-AnyList/node_modules/anylist/node_modules/got/dist/source/request-as-event-emitter.js:200:27) at ClientRequest.setHeader (_http_outgoing.js:458:3) at new ClientRequest (_http_client.js:221:14) at Object.request (https.js:309:10) at get (/home/pi/MagicMirror/modules/MMM-AnyList/node_modules/anylist/node_modules/got/dist/source/request-as-event-emitter.js:197:65) at async /home/pi/MagicMirror/modules/MMM-AnyList/node_modules/anylist/node_modules/got/dist/source/request-as-event-emitter.js:264:13

it shows the same list twice, although i set another list in the second place.

codetheweb commented 4 years ago

Weird, I was able to reproduce this. I'll look into it. 👍

codetheweb commented 4 years ago

It should be fixed now, please pull and try again.

MoRobo commented 4 years ago

Yeah! It works perfect!

Thank you sooo much Joe