Skip to content

Commit

Permalink
update GoogleSheets data source sheet id field type to string
Browse files Browse the repository at this point in the history
  • Loading branch information
shekharnwagh committed Dec 27, 2024
1 parent 97528bd commit 75480f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/google-sheets/westeros-houses/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function register_westeros_houses_block(): void {
],
'sheets' => [
[
'id' => 1,
'id' => '1',
'name' => 'Houses',
'output_query_mappings' => [],
],
Expand Down
2 changes: 1 addition & 1 deletion inc/Integrations/Google/Sheets/GoogleSheetsDataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected static function get_service_config_schema(): array {
] ),
'sheets' => Types::list_of(
Types::object( [
'id' => Types::integer(),
'id' => Types::string(),
'name' => Types::string(),
'output_query_mappings' => Types::list_of(
Types::object( [
Expand Down

0 comments on commit 75480f7

Please sign in to comment.