baramofme / notion-gcal-sync-appsscript

0 stars 0 forks source link

Global variable not recognize #1

Closed baramofme closed 3 months ago

baramofme commented 3 months ago

image

baramofme commented 3 months ago

No problem with duplicate variable definitions. I checked it. I commented that part and the errors went away.

image

Other parts, global CONFIG variable could be accessed, so it might be the problem is not recognizing global variagle.

Here's what we're guessing

baramofme commented 3 months ago

image

Hosting is not a problem either, because the shouldHaveDateStatsFilterArr variable works fine. and it's not a function, so function is not a problem either.

baramofme commented 3 months ago

Temporarily not using the variable, but putting the value in directly.

baramofme commented 3 months ago

I don't know why but it's working now