Closed s14774 closed 2 years ago
function authorize(credentials, callback) {
const { client_secret, client_id, redirect_uris } = credentials.web;
With that everything is looking good.
Authorized, but cannot run:
[14.02.2022 17:14.21.109] [ERROR] TypeError: Cannot destructure property 'client_secret' of 'credentials.installed' as it is undefined.
at authorize (/home/pi/GIT/MagicMirror/modules/MMM-GoogleCalendar/node_helper.js:61:15)
at /home/pi/GIT/MagicMirror/modules/MMM-GoogleCalendar/node_helper.js:51:7
All working after read: make sure to create a credential for TV and unlimited input Advice: add this info to set up guide.
Hi! I tried to authorize, but it is looking like I have wrong structure of credentials.json Error:
structure of credentials.json