File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ spec:
1919 - name : NOTION_TOKEN
2020 valueFrom :
2121 secretKeyRef :
22- name : sln-bookings-notion-token
22+ name : sln-bookings
2323 key : NOTION_TOKEN
24- - name : NOTION_DBID
24+ - name : NOTION_DATABASE_ID
2525 valueFrom :
2626 secretKeyRef :
27- name : sln-bookings-notion-database
27+ name : sln-bookings
2828 key : NOTION_DATABASE_ID
2929 resources :
3030 limits :
Original file line number Diff line number Diff line change 1313 - sln-bookings.nova-hub.app
1414 secretName : sln-bookings-tls
1515 rules :
16- - host : changelog .nova-hub.app
16+ - host : sln-bookings .nova-hub.app
1717 http :
1818 paths :
1919 - pathType : Prefix
Original file line number Diff line number Diff line change 11apiVersion : v1
22kind : Secret
33metadata :
4- name : sln-bookings-notion-token
4+ name : sln-bookings
55 namespace : default
66data :
7- NOTION_DBID : MTNl =
8- NOTION_TOKEN : c2VjcmV0 =
7+ NOTION_DATABASE_ID : MjM0NTY =
8+ NOTION_TOKEN : c2VjcmV0dG9rZW4 =
99type : Opaque
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ dotenv.config();
55const NOTION_TOKEN = process . env . NOTION_TOKEN ! ;
66const NOTION_DATABASE_ID = process . env . NOTION_DATABASE_ID ! ;
77
8+ console . log ( "🚀 ~ NOTION_TOKEN:" , NOTION_TOKEN )
9+ console . log ( "🚀 ~ NOTION_DATABASE_ID:" , NOTION_DATABASE_ID )
10+
811const notion = new Client ( {
912 auth : NOTION_TOKEN
1013} ) ;
You can’t perform that action at this time.
0 commit comments