diff --git a/source-linkedin-ads-v2/source_linkedin_ads_v2/spec.json b/source-linkedin-ads-v2/source_linkedin_ads_v2/spec.json index cd5157a26..34a147144 100644 --- a/source-linkedin-ads-v2/source_linkedin_ads_v2/spec.json +++ b/source-linkedin-ads-v2/source_linkedin_ads_v2/spec.json @@ -17,7 +17,7 @@ { "type": "object", "title": "OAuth2.0", - "x-oauth-provider": "linkedin", + "x-oauth2-provider": "linkedin", "required": ["auth_method", "client_id", "client_secret", "refresh_token"], "properties": { "auth_method": { diff --git a/source-linkedin-ads-v2/source_linkedin_ads_v2/streams.py b/source-linkedin-ads-v2/source_linkedin_ads_v2/streams.py index db86a58ce..2bd8e759c 100644 --- a/source-linkedin-ads-v2/source_linkedin_ads_v2/streams.py +++ b/source-linkedin-ads-v2/source_linkedin_ads_v2/streams.py @@ -100,9 +100,7 @@ def _date_time_to_rfc3339(self, record: MutableMapping[str, Any]) -> MutableMapp Transform 'date-time' items to RFC3339 format """ for item in record: - self.logger.error(f"{record}") if item in self.date_time_fields and record[item]: - self.logger.error(f"{record[item]}") record[item] = pendulum.parse(record[item]).to_rfc3339_string() return record diff --git a/source-linkedin-ads-v2/tests/snapshots/source_linkedin_ads_v2_tests_test_snapshots__spec__capture.stdout.json b/source-linkedin-ads-v2/tests/snapshots/source_linkedin_ads_v2_tests_test_snapshots__spec__capture.stdout.json index 92a4cb7fa..800b65067 100644 --- a/source-linkedin-ads-v2/tests/snapshots/source_linkedin_ads_v2_tests_test_snapshots__spec__capture.stdout.json +++ b/source-linkedin-ads-v2/tests/snapshots/source_linkedin_ads_v2_tests_test_snapshots__spec__capture.stdout.json @@ -115,7 +115,7 @@ ], "title": "OAuth2.0", "type": "object", - "x-oauth-provider": "linkedin" + "x-oauth2-provider": "linkedin" }, { "properties": {