File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 88 * or Multi-Select property.
99 *
1010 * Instructions:
11- *
11+ *
1212 * 1. Change FORMID in the filter name to your form ID.
1313 * 2. Change the $field_id, $database_id, and $property_id variables to match your form and Notion database.
1414 * NOTE: the $database_id and $property_id can be found in the Javascript developer console in a GC Notion
2121 $ property_id = 'PROPERTY_ID ' ; // Change this to the ID of the property in the database which you want to populate values.
2222
2323 $ notion_account_id = \GC_Notion \Tokens::get_resource_service_account ( $ database_id );
24- if ( empty ( $ notion_account_id ) ) {
25- return $ form ;
26- }
24+ if ( empty ( $ notion_account_id ) ) {
25+ return $ form ;
26+ }
2727
2828 $ token = rgar ( \GC_Notion \Tokens::get_service_account_ids_to_tokens (), $ notion_account_id );
2929 if ( empty ( $ token ) ) {
6363 }
6464
6565 return $ form ;
66- }, 10 , 3 );
66+ }, 10 , 3 );
You can’t perform that action at this time.
0 commit comments