diff --git a/tap_google_sheets/tap.py b/tap_google_sheets/tap.py index 356ae9d..498dc47 100644 --- a/tap_google_sheets/tap.py +++ b/tap_google_sheets/tap.py @@ -86,7 +86,7 @@ def discover_streams(self) -> List[Stream]: stream_schema = self.get_schema(google_sheet_data) - child_sheet_name = self.config.get( + child_sheet_name = stream_config.get( "child_sheet_name" ) or self.get_first_visible_child_sheet_name(google_sheet_data)