Skip to content

Commit d9b0d1d

Browse files
committed
gcn-populate-select.php: Format code.
1 parent eb877f5 commit d9b0d1d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gc-notion/gcn-populate-select.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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
@@ -21,9 +21,9 @@
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 ) ) {
@@ -63,4 +63,4 @@
6363
}
6464

6565
return $form;
66-
}, 10, 3);
66+
}, 10, 3);

0 commit comments

Comments
 (0)