Skip to content

Commit

Permalink
fix syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lideke committed Aug 2, 2022
1 parent 6ea491c commit 64882fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tap_google_ads/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def sync(self, sdk_client, customer, stream, config, state, query_limit, schemal
record = transformer.transform(transformed_message, stream["schema"], singer.metadata.to_map(stream_mdata))
singer.write_record(stream_name, record)
else:
singer.write(stream_name, json_message)
singer.write_record(stream_name, json_message)
counter.increment()
num_rows = num_rows + 1
if stream_name in limit_not_possible:
Expand Down
2 changes: 1 addition & 1 deletion tap_google_ads/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def do_sync(config, catalog, resource_schema, state):
# QA ADDED WORKAROUND [START]

try:
customers = json.loads(config["customer_ids"])
customers = config["customer_ids"]
except TypeError: # falling back to raw value
customers = config["login_customer_ids"]

Expand Down

0 comments on commit 64882fc

Please sign in to comment.