Skip to content

Commit 4070072

Browse files
fix parameter target_table_name
1 parent e8d22be commit 4070072

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

metabase_api/metabase_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def clone_card(self, card_id,
166166
if not target_table_name:
167167
raise ValueError('Either the name or id of the target table needs to be provided.')
168168
else:
169-
source_table_id = self.get_item_id('table', source_table_name)
169+
target_table_id = self.get_item_id('table', target_table_name)
170170

171171
if ignore_these_filters:
172172
assert type(ignore_these_filters) == list

0 commit comments

Comments
 (0)