Skip to content

Commit

Permalink
Merge pull request #47 from Dynnammo/patch-1
Browse files Browse the repository at this point in the history
Fix create_methods.py
  • Loading branch information
vvaezian authored Sep 13, 2023
2 parents 64ab710 + af0a1dd commit 6143ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metabase_api/create_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def create_card(self, card_name=None, collection_name=None, collection_id=None,
custom_json['collection_id'] = collection_id
elif collection_name:
collection_id = self.get_item_id('collection', collection_name)
custom_json['collecion_id'] = collection_id
custom_json['collection_id'] = collection_id

if complete_json:
# Add visualization_settings if it is not present in the custom_json
Expand Down

0 comments on commit 6143ee1

Please sign in to comment.