Skip to content

Commit

Permalink
fixed data_asset_type and data_asset_region bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shirleycohen committed Jul 28, 2024
1 parent ce47e23 commit 273d0ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3452,8 +3452,8 @@ def _split_work():
resp = jsonify(success=False)
return resp

# save the update in Firestore
store.update_tag_import_config(config_uuid, config.get('data_asset_type'))
# save the update to Firestore
store.update_tag_import_config(config_uuid, config.get('data_asset_type'), None, None)

# infer the data_asset_region if not present in the config
if 'data_asset_region' not in config or config.get('data_asset_region') == None:
Expand All @@ -3470,8 +3470,8 @@ def _split_work():
resp = jsonify(success=False)
return resp

# save the update in Firestore
store.update_tag_import_config(config_uuid, config.get('data_asset_region'))
# save the update to Firestore
store.update_tag_import_config(config_uuid, None, config.get('data_asset_region'), None)


if config_type == 'TAG_RESTORE':
Expand Down

0 comments on commit 273d0ea

Please sign in to comment.