Skip to content

Commit

Permalink
undo bad change
Browse files Browse the repository at this point in the history
  • Loading branch information
avdata99 committed May 9, 2024
1 parent 3b5eef3 commit 1f2dfb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/scheming/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def before_dataset_index(self, data_dict):
return self.before_index(data_dict)

def before_index(self, data_dict):
schemas = self.instance._expanded_schemas
schemas = SchemingDatasetsPlugin.instance._expanded_schemas
if data_dict['type'] not in schemas:
return data_dict

Expand Down

0 comments on commit 1f2dfb6

Please sign in to comment.